Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Driver::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Driver::DateOfBirth
- Defined in:
- lib/stripe/params/payment_intent_confirm_params.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
Day of birth (1-31).
-
#month ⇒ Object
Month of birth (1-12).
-
#year ⇒ Object
Year of birth (must be greater than 1900).
Instance Method Summary collapse
-
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
constructor
A new instance of DateOfBirth.
Methods inherited from RequestParams
Constructor Details
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
Returns a new instance of DateOfBirth.
528 529 530 531 532 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 528 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
Day of birth (1-31).
522 523 524 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 522 def day @day end |
#month ⇒ Object
Month of birth (1-12).
524 525 526 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 524 def month @month end |
#year ⇒ Object
Year of birth (must be greater than 1900).
526 527 528 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 526 def year @year end |