Class: Stripe::PaymentIntent::CreateParams::PaymentMethodData::Rechnung::Dob
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntent::CreateParams::PaymentMethodData::Rechnung::Dob
- Defined in:
- lib/stripe/resources/payment_intent.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.
4670 4671 4672 4673 4674 |
# File 'lib/stripe/resources/payment_intent.rb', line 4670 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.
4664 4665 4666 |
# File 'lib/stripe/resources/payment_intent.rb', line 4664 def day @day end |
#month ⇒ Object
The month of birth, between 1 and 12.
4666 4667 4668 |
# File 'lib/stripe/resources/payment_intent.rb', line 4666 def month @month end |
#year ⇒ Object
The four-digit year of birth.
4668 4669 4670 |
# File 'lib/stripe/resources/payment_intent.rb', line 4668 def year @year end |