STPBankAccountParams
public class STPBankAccountParams : NSObject, STPFormEncodable
Representation of a user’s bank account details. You can assemble these with information that your user enters and then create Stripe tokens with them using an STPAPIClient.
-
The account number for the bank account. Currently must be a checking account.
Declaration
Swift
@objc public var accountNumber: String?
-
The last 4 digits of the bank account’s account number, if it’s been set, otherwise nil.
Declaration
Swift
@objc public var last4: String? { get }
-
The routing number for the bank account. This should be the ACH routing number, not the wire routing number.
Declaration
Swift
@objc public var routingNumber: String?
-
Two-letter ISO code representing the country the bank account is located in.
Declaration
Swift
@objc public var country: String?
-
The default currency for the bank account.
Declaration
Swift
@objc public var currency: String?
-
The name of the person or business that owns the bank account.
Declaration
Swift
@objc public var accountHolderName: String?
-
The type of entity that holds the account. Defaults to STPBankAccountHolderTypeIndividual.
Declaration
Swift
@objc public var accountHolderType: STPBankAccountHolderType
-
Declaration
Swift
@objc public var additionalAPIParameters: [AnyHashable : Any]
-
Initializes an empty STPBankAccountParams.
Declaration
Swift
public override init()
-
Declaration
Swift
@objc public class func rootObjectName() -> String?
-
Declaration
Swift
@objc public class func propertyNamesToFormFieldNamesMapping() -> [String : String]