Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Lodging::Passenger

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.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.



1435
1436
1437
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1435

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

Instance Attribute Details

#nameObject

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



1433
1434
1435
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1433

def name
  @name
end