Class: Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Lodging::Passenger

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(name: nil) ⇒ Passenger

Returns a new instance of Passenger.



9268
9269
9270
# File 'lib/stripe/services/payment_intent_service.rb', line 9268

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

Instance Attribute Details

#nameObject

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



9266
9267
9268
# File 'lib/stripe/services/payment_intent_service.rb', line 9266

def name
  @name
end