Class: Stripe::PaymentIntentUpdateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::BusReservationDetail::Passenger

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



3636
3637
3638
3639
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3636

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.



3632
3633
3634
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3632

def family_name
  @family_name
end

#given_nameObject

The given name of the person.



3634
3635
3636
# File 'lib/stripe/params/payment_intent_update_params.rb', line 3634

def given_name
  @given_name
end