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: boolIf the object exists in live mode, the value is true.
If the object exists in test mode, the value is false.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourceTransaction
impl Debug for SourceTransaction
Source§impl Deserialize for SourceTransaction
impl Deserialize for SourceTransaction
Source§impl FromValueOpt for SourceTransaction
impl FromValueOpt for SourceTransaction
fn from_value(v: Value) -> Option<Self>
Source§impl Object for SourceTransaction
impl Object for SourceTransaction
Source§impl PartialEq for SourceTransaction
impl PartialEq for SourceTransaction
Source§fn eq(&self, other: &SourceTransaction) -> bool
fn eq(&self, other: &SourceTransaction) -> bool
self and other values to be equal, and is used by ==.