Struct stripe::IssuingTransaction [−][src]
pub struct IssuingTransaction {Show 18 fields
pub id: IssuingTransactionId,
pub amount: i64,
pub amount_details: Option<Box<IssuingTransactionAmountDetails>>,
pub authorization: Option<Box<Expandable<IssuingAuthorization>>>,
pub balance_transaction: Option<Box<Expandable<BalanceTransaction>>>,
pub card: Expandable<IssuingCard>,
pub cardholder: Option<Box<Expandable<IssuingCardholder>>>,
pub created: Timestamp,
pub currency: Currency,
pub dispute: Option<Box<Expandable<IssuingDispute>>>,
pub livemode: bool,
pub merchant_amount: i64,
pub merchant_currency: Currency,
pub merchant_data: MerchantData,
pub metadata: Metadata,
pub purchase_details: Option<Box<IssuingTransactionPurchaseDetails>>,
pub type_: IssuingTransactionType,
pub wallet: Option<Box<IssuingTransactionWallet>>,
}
Expand description
The resource representing a Stripe “IssuingTransaction”.
Fields
id: IssuingTransactionId
Unique identifier for the object.
amount: i64
The transaction amount, which will be reflected in your balance.
This amount is in your currency and in the smallest currency unit.
amount_details: Option<Box<IssuingTransactionAmountDetails>>
Detailed breakdown of amount components.
These amounts are denominated in currency
and in the smallest currency unit.
The Authorization
object that led to this transaction.
balance_transaction: Option<Box<Expandable<BalanceTransaction>>>
ID of the balance transaction associated with this transaction.
card: Expandable<IssuingCard>
The card used to make this transaction.
cardholder: Option<Box<Expandable<IssuingCardholder>>>
The cardholder to whom this transaction belongs.
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.
dispute: Option<Box<Expandable<IssuingDispute>>>
If you’ve disputed the transaction, the ID of the dispute.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
merchant_amount: i64
The amount that the merchant will receive, denominated in merchant_currency
and in the smallest currency unit.
It will be different from amount
if the merchant is taking payment in a different currency.
merchant_currency: Currency
The currency with which the merchant is taking payment.
merchant_data: MerchantData
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
purchase_details: Option<Box<IssuingTransactionPurchaseDetails>>
Additional purchase information that is optionally provided by the merchant.
type_: IssuingTransactionType
The nature of the transaction.
wallet: Option<Box<IssuingTransactionWallet>>
The digital wallet used for this transaction.
One of apple_pay
, google_pay
, or samsung_pay
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IssuingTransaction
impl Send for IssuingTransaction
impl Sync for IssuingTransaction
impl Unpin for IssuingTransaction
impl UnwindSafe for IssuingTransaction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more