Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::TrainReservationDetail::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
Constructor Details
#initialize(address: nil, departs_at: nil, departure_location: nil) ⇒ Departure
Returns a new instance of Departure.
4246 4247 4248 4249 4250 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4246 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.
4240 4241 4242 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4240 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
4242 4243 4244 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4242 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
4244 4245 4246 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 4244 def departure_location @departure_location end |