Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::RoundTripReservationDetail::Departure
- Defined in:
- lib/stripe/params/payment_intent_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.
4661 4662 4663 4664 4665 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4661 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.
4655 4656 4657 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4655 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
4657 4658 4659 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4657 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
4659 4660 4661 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4659 def departure_location @departure_location end |