STPPersonParams
@interface STPPersonParams : NSObject <STPFormEncodable>
Stripe API parameters to define a Person. Things like their name, address, etc.
All of the fields are optional.
-
The first name of this person.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *firstName;
Swift
var firstName: String? { get set }
-
The last name of this person.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *lastName;
Swift
var lastName: String? { get set }
-
The maiden name of this person.
Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSString *maidenName;
Swift
var maidenName: String? { get set }
-
The address parameter. For
STPPersonParams
, this is the address of the person. For theSTPLegalEntityParams
subclass, see alsopersonalAddress
.Declaration
Objective-C
@property (nonatomic, strong, readwrite, nullable) STPAddress *address;
Swift
var address: STPAddress? { get set }
-
The date of birth (dob) of this person.
Must include
day
,month
, andyear
, and only those fields are used.Declaration
Objective-C
@property (nonatomic, copy, readwrite, nullable) NSDateComponents *dateOfBirth;
Swift
var dateOfBirth: DateComponents? { get set }
-
Verification document for this person.
Declaration
Objective-C
@property (nonatomic, strong, readwrite, nullable) STPVerificationParams *verification;
Swift
var verification: STPVerificationParams? { get set }