PaymentObject
public protocol PaymentObject
Represents means to pay for an order.
-
The card type of the payment card.
Declaration
Swift
var cardType: String -
The address type used in a
PaymentObject.Declaration
Swift
associatedtype AddressType: Address -
The last four digits of the card number if coming from order history. The full card number if coming from an user input field.
Declaration
Swift
var cardNumber: CardNumber -
The billing address for the payment object.
Declaration
Swift
var billingAddress: AddressType
PaymentObject Protocol Reference