Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::FlightDatum::Passenger

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(name: nil) ⇒ Passenger

Returns a new instance of Passenger.



1267
1268
1269
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1267

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

Instance Attribute Details

#nameObject

Passenger’s full name.



1265
1266
1267
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1265

def name
  @name
end