StoredPaymentSource
@objc(PPCOrderApplicationContextStoredPaymentSource)
@objcMembers
class StoredPaymentSource
extension OrderApplicationContext.StoredPaymentSource : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Encodable, Equatable, Hashable, NSObjectProtocol
Provides additional details to process a payment using a payment_source
that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file).
-
Undocumented
Declaration
Swift
init(paymentInitiator: OrderApplicationContext.PaymentInitiator, paymentType: OrderApplicationContext.PaymentType, usage: OrderApplicationContext.Usage = .none, previousNetworkTransactionReference: OrderApplicationContext.PreviousNetworkTransactionReference? = nil)
-
The person or party who initiated or triggered the payment.
Declaration
Swift
let paymentInitiator: OrderApplicationContext.PaymentInitiator
-
Indicates the type of the stored payment_source payment.
Declaration
Swift
let paymentType: OrderApplicationContext.PaymentType
-
Reference values used by the card network to identify a transaction.
Declaration
Swift
let previousNetworkTransactionReference: OrderApplicationContext.PreviousNetworkTransactionReference?
-
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
Declaration
Swift
let usage: OrderApplicationContext.Usage