Class: Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental::Driver

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(name: nil) ⇒ Driver

Returns a new instance of Driver.



9477
9478
9479
# File 'lib/stripe/resources/payment_intent.rb', line 9477

def initialize(name: nil)
  @name = name
end

Instance Attribute Details

#nameObject

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



9475
9476
9477
# File 'lib/stripe/resources/payment_intent.rb', line 9475

def name
  @name
end