pub struct TreasuryTransaction {Show 14 fields
pub amount: i64,
pub balance_impact: TreasuryTransactionsResourceBalanceImpact,
pub created: Timestamp,
pub currency: Currency,
pub description: String,
pub entries: Option<List<TreasuryTransactionEntry>>,
pub financial_account: String,
pub flow: Option<String>,
pub flow_details: Option<TreasuryTransactionsResourceFlowDetails>,
pub flow_type: TreasuryTransactionFlowType,
pub id: TreasuryTransactionId,
pub livemode: bool,
pub status: TreasuryTransactionStatus,
pub status_transitions: TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions,
}
Expand description
Transactions represent changes to a FinancialAccount’s balance.
Fields§
§amount: i64
Amount (in cents) transferred.
balance_impact: TreasuryTransactionsResourceBalanceImpact
§created: Timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
currency: Currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.
description: String
An arbitrary string attached to the object. Often useful for displaying to users.
entries: Option<List<TreasuryTransactionEntry>>
A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.
financial_account: String
The FinancialAccount associated with this object.
flow: Option<String>
ID of the flow that created the Transaction.
flow_details: Option<TreasuryTransactionsResourceFlowDetails>
Details of the flow that created the Transaction.
flow_type: TreasuryTransactionFlowType
Type of the flow that created the Transaction.
id: TreasuryTransactionId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
status: TreasuryTransactionStatus
Status of the Transaction.
status_transitions: TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions
Trait 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