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.



7203
7204
7205
# File 'lib/stripe/services/payment_intent_service.rb', line 7203

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

Instance Attribute Details

#nameObject

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



7201
7202
7203
# File 'lib/stripe/services/payment_intent_service.rb', line 7201

def name
  @name
end