Class: Stripe::Token::CreateParams::Account::Company::RegistrationDate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Token::CreateParams::Account::Company::RegistrationDate
- Defined in:
- lib/stripe/resources/token.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.
175 176 177 178 179 |
# File 'lib/stripe/resources/token.rb', line 175 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.
169 170 171 |
# File 'lib/stripe/resources/token.rb', line 169 def day @day end |
#month ⇒ Object
The month of registration, between 1 and 12.
171 172 173 |
# File 'lib/stripe/resources/token.rb', line 171 def month @month end |
#year ⇒ Object
The four-digit year of registration.
173 174 175 |
# File 'lib/stripe/resources/token.rb', line 173 def year @year end |