Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Driver
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::CarRentalDatum::Driver
- Defined in:
- lib/stripe/params/payment_intent_confirm_params.rb
Defined Under Namespace
Classes: DateOfBirth
Instance Attribute Summary collapse
-
#date_of_birth ⇒ Object
Driver’s date of birth.
-
#driver_identification_number ⇒ Object
Driver’s identification number.
-
#driver_tax_number ⇒ Object
Driver’s tax number.
-
#name ⇒ Object
Driver’s full name.
Instance Method Summary collapse
-
#initialize(date_of_birth: nil, driver_identification_number: nil, driver_tax_number: nil, name: nil) ⇒ Driver
constructor
A new instance of Driver.
Methods inherited from RequestParams
Constructor Details
#initialize(date_of_birth: nil, driver_identification_number: nil, driver_tax_number: nil, name: nil) ⇒ Driver
Returns a new instance of Driver.
556 557 558 559 560 561 562 563 564 565 566 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 556 def initialize( date_of_birth: nil, driver_identification_number: nil, driver_tax_number: nil, name: nil ) @date_of_birth = date_of_birth @driver_identification_number = driver_identification_number @driver_tax_number = driver_tax_number @name = name end |
Instance Attribute Details
#date_of_birth ⇒ Object
Driver’s date of birth.
548 549 550 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 548 def date_of_birth @date_of_birth end |
#driver_identification_number ⇒ Object
Driver’s identification number.
550 551 552 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 550 def driver_identification_number @driver_identification_number end |
#driver_tax_number ⇒ Object
Driver’s tax number.
552 553 554 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 552 def driver_tax_number @driver_tax_number end |
#name ⇒ Object
Driver’s full name.
554 555 556 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 554 def name @name end |