Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::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

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

Constructor Details

#initialize(family_name: nil, given_name: nil) ⇒ Passenger

Returns a new instance of Passenger.



4255
4256
4257
4258
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4255

def initialize(family_name: nil, given_name: nil)
  @family_name = family_name
  @given_name = given_name
end

Instance Attribute Details

#family_nameObject

The family name of the person.



4251
4252
4253
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4251

def family_name
  @family_name
end

#given_nameObject

The given name of the person.



4253
4254
4255
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4253

def given_name
  @given_name
end