Class: Stripe::ChargeUpdateParams::PaymentDetails::CarRental::Driver

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil) ⇒ Driver

Returns a new instance of Driver.



72
73
74
75
76
# File 'lib/stripe/params/charge_update_params.rb', line 72

def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
  @driver_identification_number = driver_identification_number
  @driver_tax_number = driver_tax_number
  @name = name
end

Instance Attribute Details

#driver_identification_numberObject

Driver’s identification number.



66
67
68
# File 'lib/stripe/params/charge_update_params.rb', line 66

def driver_identification_number
  @driver_identification_number
end

#driver_tax_numberObject

Driver’s tax number.



68
69
70
# File 'lib/stripe/params/charge_update_params.rb', line 68

def driver_tax_number
  @driver_tax_number
end

#nameObject

Full name of the person or entity on the car reservation.



70
71
72
# File 'lib/stripe/params/charge_update_params.rb', line 70

def name
  @name
end