pub struct TreasuryTransaction {Show 15 fields
pub amount: i64,
pub balance_impact: TreasuryTransactionsResourceBalanceImpact,
pub created: i64,
pub currency: String,
pub description: String,
pub entries: Option<TreasuryTransactionsResourceTransactionEntryList>,
pub financial_account: String,
pub flow: Option<String>,
pub flow_details: Option<Value>,
pub flow_type: String,
pub id: String,
pub livemode: bool,
pub object: String,
pub status: String,
pub status_transitions: TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions,
}Expand description
Transactions represent changes to a FinancialAccount’s balance.
Fields§
§amount: i64Amount (in cents) transferred.
balance_impact: TreasuryTransactionsResourceBalanceImpactChange to a FinancialAccount’s balance
created: i64Time at which the object was created. Measured in seconds since the Unix epoch.
currency: StringThree-letter ISO currency code, in lowercase. Must be a supported currency.
description: StringAn arbitrary string attached to the object. Often useful for displaying to users.
entries: Option<TreasuryTransactionsResourceTransactionEntryList>A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.
financial_account: StringThe FinancialAccount associated with this object.
flow: Option<String>ID of the flow that created the Transaction.
flow_details: Option<Value>Details of the flow that created the Transaction.
flow_type: StringType of the flow that created the Transaction.
id: StringUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
object: StringString representing the object’s type. Objects of the same type share the same value.
status: StringStatus of the Transaction.
status_transitions: TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitionsTrait Implementations§
Source§impl Clone for TreasuryTransaction
impl Clone for TreasuryTransaction
Source§fn clone(&self) -> TreasuryTransaction
fn clone(&self) -> TreasuryTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more