Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::FerryReservationDetail

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

Defined Under Namespace

Classes: Arrival, Departure, Insurance, Passenger

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(affiliate_name: nil, arrival: nil, carrier_name: nil, currency: nil, departure: nil, insurances: nil, passengers: nil, price: nil, ticket_class: nil) ⇒ FerryReservationDetail

Returns a new instance of FerryReservationDetail.



3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3946

def initialize(
  affiliate_name: nil,
  arrival: nil,
  carrier_name: nil,
  currency: nil,
  departure: nil,
  insurances: nil,
  passengers: nil,
  price: nil,
  ticket_class: nil
)
  @affiliate_name = affiliate_name
  @arrival = arrival
  @carrier_name = carrier_name
  @currency = currency
  @departure = departure
  @insurances = insurances
  @passengers = passengers
  @price = price
  @ticket_class = ticket_class
end

Instance Attribute Details

#affiliate_nameObject

Name of associated or partner company for the service.



3928
3929
3930
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3928

def affiliate_name
  @affiliate_name
end

#arrivalObject

Arrival details.



3930
3931
3932
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3930

def arrival
  @arrival
end

#carrier_nameObject

Name of transportation company.



3932
3933
3934
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3932

def carrier_name
  @carrier_name
end

#currencyObject

Currency.



3934
3935
3936
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3934

def currency
  @currency
end

#departureObject

Departure details.



3936
3937
3938
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3936

def departure
  @departure
end

#insurancesObject

List of insurances for this reservation.



3938
3939
3940
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3938

def insurances
  @insurances
end

#passengersObject

List of passengers that this reservation applies to.



3940
3941
3942
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3940

def passengers
  @passengers
end

#priceObject

Price in cents.



3942
3943
3944
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3942

def price
  @price
end

#ticket_classObject

Ticket class.



3944
3945
3946
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3944

def ticket_class
  @ticket_class
end