Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::CarRentalDatum::Driver

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

Defined Under Namespace

Classes: DateOfBirth

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, 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.



548
549
550
551
552
553
554
555
556
557
558
# File 'lib/stripe/params/payment_intent_update_params.rb', line 548

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_birthObject

Driver’s date of birth.



540
541
542
# File 'lib/stripe/params/payment_intent_update_params.rb', line 540

def date_of_birth
  @date_of_birth
end

#driver_identification_numberObject

Driver’s identification number.



542
543
544
# File 'lib/stripe/params/payment_intent_update_params.rb', line 542

def driver_identification_number
  @driver_identification_number
end

#driver_tax_numberObject

Driver’s tax number.



544
545
546
# File 'lib/stripe/params/payment_intent_update_params.rb', line 544

def driver_tax_number
  @driver_tax_number
end

#nameObject

Driver’s full name.



546
547
548
# File 'lib/stripe/params/payment_intent_update_params.rb', line 546

def name
  @name
end