[−][src]Struct stripe::BalanceTransaction
The resource representing a Stripe "BalanceTransaction".
Fields
id: BalanceTransactionIdUnique identifier for the object.
amount: i64Gross amount of the transaction, in %s.
available_on: TimestampThe date the transaction's net funds will become available in the Stripe balance.
created: TimestampTime at which the object was created.
Measured in seconds since the Unix epoch.
currency: CurrencyThree-letter ISO currency code, in lowercase.
Must be a supported currency.
description: Option<String>An arbitrary string attached to the object.
Often useful for displaying to users.
exchange_rate: Option<f64>fee: i64Fees (in %s) paid for this transaction.
fee_details: Vec<Fee>Detailed breakdown of fees (in %s) paid for this transaction.
net: i64Net amount of the transaction, in %s.
source: Option<Expandable<BalanceTransactionSource>>The Stripe object to which this transaction is related.
status: BalanceTransactionStatusIf the transaction's net funds are available in the Stripe balance yet.
Either available or pending.
type_: BalanceTransactionTypeTransaction type: adjustment, advance, advance_funding, application_fee, application_fee_refund, charge, connect_collection_transfer, issuing_authorization_hold, issuing_authorization_release, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund.
Learn more about balance transaction types and what they represent.
Methods
impl BalanceTransaction[src]
pub fn retrieve(
client: &Client,
id: &BalanceTransactionId
) -> Response<BalanceTransaction>[src]
client: &Client,
id: &BalanceTransactionId
) -> Response<BalanceTransaction>
Retrieves the balance transaction with the given ID.
For more details see https://stripe.com/docs/api/balance/balance_transaction_retrieve.
Trait Implementations
impl Object for BalanceTransaction[src]
type Id = BalanceTransactionId
The canonical id type for this object.
fn id(&self) -> Self::Id[src]
fn object(&self) -> &'static str[src]
impl Clone for BalanceTransaction[src]
fn clone(&self) -> BalanceTransaction[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for BalanceTransaction[src]
impl Serialize for BalanceTransaction[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for BalanceTransaction[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for BalanceTransaction
impl Sync for BalanceTransaction
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self