STPPaymentMethodFPXParams
Objective-C
@interface STPPaymentMethodFPXParams : NSObject <STPFormEncodable>
Swift
class STPPaymentMethodFPXParams : NSObject, STPFormEncodable
An object representing parameters used to create an FPX Payment Method
-
The customer’s bank. Required.
Declaration
Objective-C
@property (nonatomic) STPFPXBankBrand bank;
Swift
var bank: STPFPXBankBrand { get set }
-
The raw underlying bank string sent to the server.
Generally you should use
bank
instead unless you have a reason not to. You can use this if you want to create a param of a bank not yet supported by the current version of the SDK’sSTPFPXBankBrand
enum.Setting this to a value not known by the SDK causes
bank
to returnSTPFPXBankBrandUnknown
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *rawBankString;
Swift
var rawBankString: String? { get set }