STPPaymentMethodFPXParams

public class STPPaymentMethodFPXParams : NSObject, STPFormEncodable

An object representing parameters used to create an FPX Payment Method

  • Declaration

    Swift

    @objc
    public var additionalAPIParameters: [AnyHashable : Any]
  • The customer’s bank. Required.

    Declaration

    Swift

    @objc
    public 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

    Swift

    @objc
    public var rawBankString: String?

STPFormEncodable