Class: Stripe::V2::Core::AccountService::CreateParams::Identity::Individual::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountService::CreateParams::Identity::Individual::DateOfBirth
- Defined in:
- lib/stripe/services/v2/core/account_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.
1649 1650 1651 1652 1653 |
# File 'lib/stripe/services/v2/core/account_service.rb', line 1649 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
The day of birth.
1643 1644 1645 |
# File 'lib/stripe/services/v2/core/account_service.rb', line 1643 def day @day end |
#month ⇒ Object
The month of birth.
1645 1646 1647 |
# File 'lib/stripe/services/v2/core/account_service.rb', line 1645 def month @month end |
#year ⇒ Object
The year of birth.
1647 1648 1649 |
# File 'lib/stripe/services/v2/core/account_service.rb', line 1647 def year @year end |