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.



4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4458

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.



4440
4441
4442
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4440

def affiliate_name
  @affiliate_name
end

#arrivalObject

Arrival details.



4442
4443
4444
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4442

def arrival
  @arrival
end

#carrier_nameObject

Name of transportation company.



4444
4445
4446
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4444

def carrier_name
  @carrier_name
end

#currencyObject

Currency.



4446
4447
4448
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4446

def currency
  @currency
end

#departureObject

Departure details.



4448
4449
4450
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4448

def departure
  @departure
end

#insurancesObject

List of insurances for this reservation.



4450
4451
4452
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4450

def insurances
  @insurances
end

#passengersObject

List of passengers that this reservation applies to.



4452
4453
4454
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4452

def passengers
  @passengers
end

#priceObject

Price in cents.



4454
4455
4456
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4454

def price
  @price
end

#ticket_classObject

Ticket class.



4456
4457
4458
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4456

def ticket_class
  @ticket_class
end