STPConnectAccountIndividualParams
public class STPConnectAccountIndividualParams : NSObject
extension STPConnectAccountIndividualParams: STPFormEncodable
Information about the person represented by the account for use with STPConnectAccountParams
.
-
The individual’s primary address.
Declaration
Swift
@objc public var address: STPConnectAccountAddress?
-
The Kana variation of the the individual’s primary address (Japan only).
Declaration
Swift
@objc public var kanaAddress: STPConnectAccountAddress?
-
The Kanji variation of the the individual’s primary address (Japan only).
Declaration
Swift
@objc public var kanjiAddress: STPConnectAccountAddress?
-
The individual’s date of birth. Must include
day
,month
, andyear
, and only those fields are used.Declaration
Swift
@objc public var dateOfBirth: DateComponents?
-
The individual’s email address.
Declaration
Swift
@objc public var email: String?
-
The individual’s first name.
Declaration
Swift
@objc public var firstName: String?
-
The Kana variation of the the individual’s first name (Japan only).
Declaration
Swift
@objc public var kanaFirstName: String?
-
The Kanji variation of the individual’s first name (Japan only).
Declaration
Swift
@objc public var kanjiFirstName: String?
-
The individual’s gender International regulations require either “male” or “female”.
Declaration
Swift
@objc public var gender: String?
-
The government-issued ID number of the individual, as appropriate for the representative’s country. Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data).
Declaration
Swift
@objc public var idNumber: String?
-
The individual’s last name.
Declaration
Swift
@objc public var lastName: String?
-
The Kana varation of the individual’s last name (Japan only).
Declaration
Swift
@objc public var kanaLastName: String?
-
The Kanji varation of the individual’s last name (Japan only).
Declaration
Swift
@objc public var kanjiLastName: String?
-
The individual’s maiden name.
Declaration
Swift
@objc public var maidenName: String?
-
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Declaration
Swift
@objc public var metadata: [AnyHashable : Any]?
-
The individual’s phone number.
Declaration
Swift
@objc public var phone: String?
-
The last four digits of the individual’s Social Security Number (U.S. only).
Declaration
Swift
@objc public var ssnLast4: String?
-
The individual’s verification document information.
Declaration
Swift
@objc public var verification: STPConnectAccountIndividualVerification?
-
Declaration
Swift
@objc public class func propertyNamesToFormFieldNamesMapping() -> [String : String]
-
Declaration
Swift
@objc public class func rootObjectName() -> String?