Class: Stripe::ChargeUpdateParams::PaymentDetails::CarRentalDatum::Driver
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::CarRentalDatum::Driver
- Defined in:
- lib/stripe/params/charge_update_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(date_of_birth: nil, driver_identification_number: nil, driver_tax_number: nil, name: nil) ⇒ Driver
Returns a new instance of Driver.
291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/stripe/params/charge_update_params.rb', line 291 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.
283 284 285 |
# File 'lib/stripe/params/charge_update_params.rb', line 283 def date_of_birth @date_of_birth end |
#driver_identification_number ⇒ Object
Driver’s identification number.
285 286 287 |
# File 'lib/stripe/params/charge_update_params.rb', line 285 def driver_identification_number @driver_identification_number end |
#driver_tax_number ⇒ Object
Driver’s tax number.
287 288 289 |
# File 'lib/stripe/params/charge_update_params.rb', line 287 def driver_tax_number @driver_tax_number end |
#name ⇒ Object
Driver’s full name.
289 290 291 |
# File 'lib/stripe/params/charge_update_params.rb', line 289 def name @name end |