Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Passenger

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



1059
1060
1061
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1059

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

Instance Attribute Details

#nameObject

Passenger’s full name.



1057
1058
1059
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1057

def name
  @name
end