Class: Stripe::OrderCreateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderCreateParams::Payment::Settings::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::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
Constructor Details
#initialize(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure
Returns a new instance of Departure.
1117 1118 1119 1120 1121 |
# File 'lib/stripe/params/order_create_params.rb', line 1117 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.
1111 1112 1113 |
# File 'lib/stripe/params/order_create_params.rb', line 1111 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
1113 1114 1115 |
# File 'lib/stripe/params/order_create_params.rb', line 1113 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
1115 1116 1117 |
# File 'lib/stripe/params/order_create_params.rb', line 1115 def departure_location @departure_location end |