PaymentMethod
public class PaymentMethod: NSObject, Codable, NSCoding, NSCopying
This is the base class for payment methods. It contains a type to identify the payment method, e.g. Visa or Mastercard.
-
Payment method type, e.g. Visa
Declaration
Swift
public let type: PaymentMethodType -
This init method initializes a
PaymentMethodobject with the payment method type.Declaration
Swift
public init(type: PaymentMethodType)Parameters
typePayment method type, e.g. Visa
View on GitHub