Class: Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna::Dob
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Klarna::Dob
- Defined in:
- lib/stripe/resources/confirmation_token.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
The day of birth, between 1 and 31.
-
#month ⇒ Object
The month of birth, between 1 and 12.
-
#year ⇒ Object
The four-digit year of birth.
Instance Method Summary collapse
-
#initialize(day: nil, month: nil, year: nil) ⇒ Dob
constructor
A new instance of Dob.
Methods inherited from RequestParams
Constructor Details
#initialize(day: nil, month: nil, year: nil) ⇒ Dob
Returns a new instance of Dob.
1967 1968 1969 1970 1971 |
# File 'lib/stripe/resources/confirmation_token.rb', line 1967 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
The day of birth, between 1 and 31.
1961 1962 1963 |
# File 'lib/stripe/resources/confirmation_token.rb', line 1961 def day @day end |
#month ⇒ Object
The month of birth, between 1 and 12.
1963 1964 1965 |
# File 'lib/stripe/resources/confirmation_token.rb', line 1963 def month @month end |
#year ⇒ Object
The four-digit year of birth.
1965 1966 1967 |
# File 'lib/stripe/resources/confirmation_token.rb', line 1965 def year @year end |