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