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

#to_h

Constructor Details

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

Returns a new instance of Passenger.



3582
3583
3584
3585
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3582

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.



3578
3579
3580
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3578

def family_name
  @family_name
end

#given_nameObject

The given name of the person.



3580
3581
3582
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3580

def given_name
  @given_name
end