Class: Stripe::AccountUpdateParams::Company::RegistrationDate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountUpdateParams::Company::RegistrationDate
- Defined in:
- lib/stripe/params/account_update_params.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.
1343 1344 1345 1346 1347 |
# File 'lib/stripe/params/account_update_params.rb', line 1343 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.
1337 1338 1339 |
# File 'lib/stripe/params/account_update_params.rb', line 1337 def day @day end |
#month ⇒ Object
The month of registration, between 1 and 12.
1339 1340 1341 |
# File 'lib/stripe/params/account_update_params.rb', line 1339 def month @month end |
#year ⇒ Object
The four-digit year of registration.
1341 1342 1343 |
# File 'lib/stripe/params/account_update_params.rb', line 1341 def year @year end |