Class: Stripe::PaymentIntentService::CaptureParams::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.



7273
7274
7275
# File 'lib/stripe/services/payment_intent_service.rb', line 7273

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

Instance Attribute Details

#nameObject

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



7271
7272
7273
# File 'lib/stripe/services/payment_intent_service.rb', line 7271

def name
  @name
end