Class: Stripe::V2::Core::AccountCreateParams::Identity::Individual::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Identity::Individual::DateOfBirth
- Defined in:
- lib/stripe/params/v2/core/account_create_params.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
The day of birth.
-
#month ⇒ Object
The month of birth.
-
#year ⇒ Object
The year of birth.
Instance Method Summary collapse
-
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
constructor
A new instance of DateOfBirth.
Methods inherited from RequestParams
Constructor Details
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
Returns a new instance of DateOfBirth.
2537 2538 2539 2540 2541 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2537 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
The day of birth.
2531 2532 2533 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2531 def day @day end |
#month ⇒ Object
The month of birth.
2533 2534 2535 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2533 def month @month end |
#year ⇒ Object
The year of birth.
2535 2536 2537 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2535 def year @year end |