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.



4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4418

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.



4400
4401
4402
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4400

def affiliate_name
  @affiliate_name
end

#arrivalObject

Arrival details.



4402
4403
4404
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4402

def arrival
  @arrival
end

#carrier_nameObject

Name of transportation company.



4404
4405
4406
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4404

def carrier_name
  @carrier_name
end

#currencyObject

Currency.



4406
4407
4408
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4406

def currency
  @currency
end

#departureObject

Departure details.



4408
4409
4410
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4408

def departure
  @departure
end

#insurancesObject

List of insurances for this reservation.



4410
4411
4412
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4410

def insurances
  @insurances
end

#passengersObject

List of passengers that this reservation applies to.



4412
4413
4414
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4412

def passengers
  @passengers
end

#priceObject

Price in cents.



4414
4415
4416
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4414

def price
  @price
end

#ticket_classObject

Ticket class.



4416
4417
4418
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4416

def ticket_class
  @ticket_class
end