Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRental::Driver

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Driver.



294
295
296
297
298
# File 'lib/stripe/params/payment_intent_create_params.rb', line 294

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.



288
289
290
# File 'lib/stripe/params/payment_intent_create_params.rb', line 288

def driver_identification_number
  @driver_identification_number
end

#driver_tax_numberObject

Driver’s tax number.



290
291
292
# File 'lib/stripe/params/payment_intent_create_params.rb', line 290

def driver_tax_number
  @driver_tax_number
end

#nameObject

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



292
293
294
# File 'lib/stripe/params/payment_intent_create_params.rb', line 292

def name
  @name
end