Class: Stripe::V2::Core::Accounts::PersonService::CreateParams::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonService::CreateParams::DateOfBirth
- Defined in:
- lib/stripe/services/v2/core/accounts/person_service.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.
133 134 135 136 137 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 133 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
The day of birth.
127 128 129 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 127 def day @day end |
#month ⇒ Object
The month of birth.
129 130 131 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 129 def month @month end |
#year ⇒ Object
The year of birth.
131 132 133 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 131 def year @year end |