Class: Stripe::OrderCreateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure

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

Defined Under Namespace

Classes: Address

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(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure

Returns a new instance of Departure.



1127
1128
1129
1130
1131
# File 'lib/stripe/params/order_create_params.rb', line 1127

def initialize(address: nil, departs_at: nil, departure_location: nil)
  @address = address
  @departs_at = departs_at
  @departure_location = departure_location
end

Instance Attribute Details

#addressObject

Address of the departure location.



1121
1122
1123
# File 'lib/stripe/params/order_create_params.rb', line 1121

def address
  @address
end

#departs_atObject

Timestamp of departure.



1123
1124
1125
# File 'lib/stripe/params/order_create_params.rb', line 1123

def departs_at
  @departs_at
end

#departure_locationObject

Identifier name or reference for the origin location.



1125
1126
1127
# File 'lib/stripe/params/order_create_params.rb', line 1125

def departure_location
  @departure_location
end