STPDateOfBirth
@interface STPDateOfBirth : NSObject <STPFormEncodable>
An individual’s date of birth.
See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob
-
The day of birth, between 1 and 31.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger day;
Swift
var day: Int { get set }
-
The month of birth, between 1 and 12.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger month;
Swift
var month: Int { get set }
-
The four-digit year of birth.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger year;
Swift
var year: Int { get set }