pub struct SourceTransaction {Show 13 fields
pub ach_credit_transfer: Option<SourceTransactionAchCreditTransferData>,
pub amount: i64,
pub chf_credit_transfer: Option<SourceTransactionChfCreditTransferData>,
pub created: Timestamp,
pub currency: Currency,
pub gbp_credit_transfer: Option<SourceTransactionGbpCreditTransferData>,
pub id: SourceTransactionId,
pub livemode: bool,
pub paper_check: Option<SourceTransactionPaperCheckData>,
pub sepa_credit_transfer: Option<SourceTransactionSepaCreditTransferData>,
pub source: String,
pub status: String,
pub type_: SourceTransactionType,
}Expand description
Some payment methods have no required amount that a customer must send. Customers can be instructed to send any amount, and it can be made up of multiple transactions. As such, sources can have multiple associated transactions.
Fields§
§ach_credit_transfer: Option<SourceTransactionAchCreditTransferData>§amount: i64A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.
chf_credit_transfer: Option<SourceTransactionChfCreditTransferData>§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.
gbp_credit_transfer: Option<SourceTransactionGbpCreditTransferData>§id: SourceTransactionIdUnique 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.
paper_check: Option<SourceTransactionPaperCheckData>§sepa_credit_transfer: Option<SourceTransactionSepaCreditTransferData>§source: StringThe ID of the source this transaction is attached to.
status: StringThe status of the transaction, one of succeeded, pending, or failed.
type_: SourceTransactionTypeThe type of source this transaction is attached to.
Trait Implementations§
Source§impl Clone for SourceTransaction
impl Clone for SourceTransaction
Source§fn clone(&self) -> SourceTransaction
fn clone(&self) -> SourceTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more