pub struct TransactionOverviewApiSchema {
pub processor_transaction_id: Option<String>,
pub date: String,
pub processor_status: Option<String>,
pub processor_merchant_id: String,
pub amount: Value,
pub currency_code: String,
pub processor_name: Option<String>,
pub processor_status_reason: Option<StatusReasonApiSchema>,
pub transaction_type: Option<String>,
}
Fields§
§processor_transaction_id: Option<String>
Processor’s unique identifier for the transaction
date: String
Date & time of the transaction (UTC)
processor_status: Option<String>
Transaction status, please refer to the Transaction Status Codes table for more information
processor_merchant_id: String
Processor’s main account identifier.
Adyen: Account code Braintree: Merchant ID Stripe: Account ID“
amount: Value
Transaction amount in minor units
currency_code: String
The 3-letter currency code in ISO 4217 format.
e.g. use USD
for US dollars.
processor_name: Option<String>
An identifier of a processor.
processor_status_reason: Option<StatusReasonApiSchema>
If the transaction has a declined or failed status.
Only if the status is DECLINED
or FAILED
, otherwise null
.
transaction_type: Option<String>
Trait Implementations§
Source§impl Debug for TransactionOverviewApiSchema
impl Debug for TransactionOverviewApiSchema
Source§impl<'de> Deserialize<'de> for TransactionOverviewApiSchema
impl<'de> Deserialize<'de> for TransactionOverviewApiSchema
Source§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 Freeze for TransactionOverviewApiSchema
impl RefUnwindSafe for TransactionOverviewApiSchema
impl Send for TransactionOverviewApiSchema
impl Sync for TransactionOverviewApiSchema
impl Unpin for TransactionOverviewApiSchema
impl UnwindSafe for TransactionOverviewApiSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more