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

#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.



3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3853

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.



3835
3836
3837
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3835

def affiliate_name
  @affiliate_name
end

#arrivalObject

Arrival details.



3837
3838
3839
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3837

def arrival
  @arrival
end

#carrier_nameObject

Name of transportation company.



3839
3840
3841
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3839

def carrier_name
  @carrier_name
end

#currencyObject

Currency.



3841
3842
3843
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3841

def currency
  @currency
end

#departureObject

Departure details.



3843
3844
3845
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3843

def departure
  @departure
end

#insurancesObject

List of insurances for this reservation.



3845
3846
3847
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3845

def insurances
  @insurances
end

#passengersObject

List of passengers that this reservation applies to.



3847
3848
3849
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3847

def passengers
  @passengers
end

#priceObject

Price in cents.



3849
3850
3851
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3849

def price
  @price
end

#ticket_classObject

Ticket class.



3851
3852
3853
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3851

def ticket_class
  @ticket_class
end