Class: Stripe::PaymentIntent::CaptureParams::PaymentDetails::Flight::Passenger

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



10101
10102
10103
# File 'lib/stripe/resources/payment_intent.rb', line 10101

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

Instance Attribute Details

#nameObject

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



10099
10100
10101
# File 'lib/stripe/resources/payment_intent.rb', line 10099

def name
  @name
end