Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::FerryReservationDetail

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



3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3993

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.



3975
3976
3977
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3975

def affiliate_name
  @affiliate_name
end

#arrivalObject

Arrival details.



3977
3978
3979
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3977

def arrival
  @arrival
end

#carrier_nameObject

Name of transportation company.



3979
3980
3981
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3979

def carrier_name
  @carrier_name
end

#currencyObject

Currency.



3981
3982
3983
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3981

def currency
  @currency
end

#departureObject

Departure details.



3983
3984
3985
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3983

def departure
  @departure
end

#insurancesObject

List of insurances for this reservation.



3985
3986
3987
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3985

def insurances
  @insurances
end

#passengersObject

List of passengers that this reservation applies to.



3987
3988
3989
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3987

def passengers
  @passengers
end

#priceObject

Price in cents.



3989
3990
3991
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3989

def price
  @price
end

#ticket_classObject

Ticket class.



3991
3992
3993
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3991

def ticket_class
  @ticket_class
end