STPPaymentMethodFPXParams

@interface STPPaymentMethodFPXParams : NSObject <STPFormEncodable>

An object representing parameters used to create an FPX Payment Method

  • The customer’s bank. Required.

    Declaration

    Objective-C

    @property (assign, readwrite, 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’s STPFPXBankBrand enum.

    Setting this to a value not known by the SDK causes bank to return STPFPXBankBrandUnknown

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *rawBankString;

    Swift

    var rawBankString: String? { get set }