STPPaymentMethodCardWallet
public class STPPaymentMethodCardWallet : NSObject, STPAPIResponseDecodable
A Card Wallet.
-
The type of the Card Wallet. A matching property is populated if the type is
STPPaymentMethodCardWalletTypeMasterpass
orSTPPaymentMethodCardWalletTypeVisaCheckout
containing additional information specific to the Card Wallet type.Declaration
Swift
@objc public private(set) var type: STPPaymentMethodCardWalletType { get }
-
Contains additional Masterpass information, if the type of the Card Wallet is
STPPaymentMethodCardWalletTypeMasterpass
Declaration
Swift
@objc public private(set) var masterpass: STPPaymentMethodCardWalletMasterpass? { get }
-
Contains additional Visa Checkout information, if the type of the Card Wallet is
STPPaymentMethodCardWalletTypeVisaCheckout
Declaration
Swift
@objc public private(set) var visaCheckout: STPPaymentMethodCardWalletVisaCheckout? { get }
-
Declaration
Swift
@objc public private(set) var allResponseFields: [AnyHashable : Any] { get }
-
Declaration
Swift
public class func decodedObject(fromAPIResponse response: [AnyHashable : Any]?) -> `Self`?