Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRental::Driver

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_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.



366
367
368
369
370
# File 'lib/stripe/params/payment_intent_update_params.rb', line 366

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.



360
361
362
# File 'lib/stripe/params/payment_intent_update_params.rb', line 360

def driver_identification_number
  @driver_identification_number
end

#driver_tax_numberObject

Driver’s tax number.



362
363
364
# File 'lib/stripe/params/payment_intent_update_params.rb', line 362

def driver_tax_number
  @driver_tax_number
end

#nameObject

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



364
365
366
# File 'lib/stripe/params/payment_intent_update_params.rb', line 364

def name
  @name
end