pub struct StoredPaymentSource {
pub payment_initiator: PaymentInitiator,
pub payment_type: PaymentType,
pub usage: Option<Usage>,
pub previous_network_transaction_reference: Option<NetworkTransactionReference>,
}
Fields§
§payment_initiator: PaymentInitiator
The person or party who initiated or triggered the payment.
payment_type: PaymentType
Indicates the type of the stored payment_source payment.
usage: Option<Usage>
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
previous_network_transaction_reference: Option<NetworkTransactionReference>
Reference values used by the card network to identify a transaction.
Trait Implementations§
source§impl Clone for StoredPaymentSource
impl Clone for StoredPaymentSource
source§fn clone(&self) -> StoredPaymentSource
fn clone(&self) -> StoredPaymentSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StoredPaymentSource
impl Debug for StoredPaymentSource
source§impl Default for StoredPaymentSource
impl Default for StoredPaymentSource
source§fn default() -> StoredPaymentSource
fn default() -> StoredPaymentSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StoredPaymentSource
impl<'de> Deserialize<'de> for StoredPaymentSource
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