Class: Stripe::TokenService::CreateParams::Account::Company::RegistrationDate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenService::CreateParams::Account::Company::RegistrationDate
- Defined in:
- lib/stripe/services/token_service.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
The day of registration, between 1 and 31.
-
#month ⇒ Object
The month of registration, between 1 and 12.
-
#year ⇒ Object
The four-digit year of registration.
Instance Method Summary collapse
-
#initialize(day: nil, month: nil, year: nil) ⇒ RegistrationDate
constructor
A new instance of RegistrationDate.
Methods inherited from RequestParams
Constructor Details
#initialize(day: nil, month: nil, year: nil) ⇒ RegistrationDate
Returns a new instance of RegistrationDate.
157 158 159 160 161 |
# File 'lib/stripe/services/token_service.rb', line 157 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
The day of registration, between 1 and 31.
151 152 153 |
# File 'lib/stripe/services/token_service.rb', line 151 def day @day end |
#month ⇒ Object
The month of registration, between 1 and 12.
153 154 155 |
# File 'lib/stripe/services/token_service.rb', line 153 def month @month end |
#year ⇒ Object
The four-digit year of registration.
155 156 157 |
# File 'lib/stripe/services/token_service.rb', line 155 def year @year end |