Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure
- Defined in:
- lib/stripe/params/payment_intent_confirm_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.
4265 4266 4267 4268 4269 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4265 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.
4259 4260 4261 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4259 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
4261 4262 4263 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4261 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
4263 4264 4265 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 4263 def departure_location @departure_location end |