OPPaymentMethod
@objc
public class OPPaymentMethod : NSObject, OPPaymentMethodProtocolRepresents a payment method containing all information needed to submit a basket via Olo’s Ordering API
- 
                  
                  The payment method id. This should be set to the token field when submitting a basket DeclarationSwift public var id: String { get }
- 
                  
                  The last four digits of the card DeclarationSwift public var last4: String? { get }
- 
                  
                  The issuer of the card (e.g. Visa, Mastercard, etc) DeclarationSwift public var cardType: OPCardBrand { get }
- 
                  
                  Two-digit number representing the card’s expiration month DeclarationSwift public var expirationMonth: NSNumber? { get }
- 
                  
                  Four-digit number representing the card’s expiration year DeclarationSwift public var expirationYear: NSNumber? { get }
- 
                  
                  ZIP or postal code DeclarationSwift public var postalCode: String? { get }
- 
                  
                  Whether or not this payment method was created via ApplePay DeclarationSwift public var isApplePay: Bool { get }
- 
                  
                  Country from the card in the payment method DeclarationSwift public var country: String? { get }
- 
                  
                  A string representation of this class DeclarationSwift public override var description: String { get }
 OPPaymentMethod Class Reference
        OPPaymentMethod Class Reference