Class: Stripe::OrderCreateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderCreateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure
- Defined in:
- lib/stripe/params/order_create_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Address of the departure location.
-
#departs_at ⇒ Object
Timestamp of departure.
-
#departure_location ⇒ Object
Identifier name or reference for the origin location.
Instance Method Summary collapse
-
#initialize(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure
constructor
A new instance of Departure.
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.
1291 1292 1293 1294 1295 |
# File 'lib/stripe/params/order_create_params.rb', line 1291 def initialize(address: nil, departs_at: nil, departure_location: nil) @address = address @departs_at = departs_at @departure_location = departure_location end |
Instance Attribute Details
#address ⇒ Object
Address of the departure location.
1285 1286 1287 |
# File 'lib/stripe/params/order_create_params.rb', line 1285 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
1287 1288 1289 |
# File 'lib/stripe/params/order_create_params.rb', line 1287 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
1289 1290 1291 |
# File 'lib/stripe/params/order_create_params.rb', line 1289 def departure_location @departure_location end |