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.



7613
7614
7615
# File 'lib/stripe/services/payment_intent_service.rb', line 7613

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

Instance Attribute Details

#nameObject

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



7611
7612
7613
# File 'lib/stripe/services/payment_intent_service.rb', line 7611

def name
  @name
end