STPPaymentMethodCardWallet
@interface 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
Objective-C
@property (readonly, nonatomic) STPPaymentMethodCardWalletType type;
Swift
var type: STPPaymentMethodCardWalletType { get }
-
Contains additional Masterpass information, if the type of the Card Wallet is
STPPaymentMethodCardWalletTypeMasterpass
Declaration
Objective-C
@property (readonly, nonatomic, nullable) STPPaymentMethodCardWalletMasterpass *masterpass;
Swift
var masterpass: STPPaymentMethodCardWalletMasterpass? { get }
-
Contains additional Visa Checkout information, if the type of the Card Wallet is
STPPaymentMethodCardWalletTypeVisaCheckout
Declaration
Objective-C
@property (readonly, nonatomic, nullable) STPPaymentMethodCardWalletVisaCheckout *visaCheckout;
Swift
var visaCheckout: STPPaymentMethodCardWalletVisaCheckout? { get }