Card
public class Card: PaymentMethodUse this class to process raw card data for payments. You should use this class if your app takes over the user interface for the card input fields.
- 
                  
                  Card number DeclarationSwift public var number: String
- 
                  
                  Expiry date DeclarationSwift public var expiryDate: CardExpiryDate
- 
                  
                  Card security code - nil if the card does not have a card security code. DeclarationSwift public var cvv: String?
- 
                  
                  Cardholder’s name (as written on the card) DeclarationSwift public var cardholder: String?
- 
                  
                  Use this to initialize a card object with the card data. DeclarationSwift public init(type: PaymentMethodType, number: String, expiryDate: CardExpiryDate, cvv: String?, cardholder: String?)ParameterstypeCard type, e.g. Visa or Mastercard numberCard number expiryDateExpiry date cvvCard security code - nil if the card does not have a card security code. cardholderCardholder’s name (as written on the card) 
 View on GitHub
View on GitHub