Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::FerryReservationDetail::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Klarna::SupplementaryPurchaseData::FerryReservationDetail::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.
3843 3844 3845 3846 3847 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3843 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.
3837 3838 3839 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3837 def address @address end |
#departs_at ⇒ Object
Timestamp of departure.
3839 3840 3841 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3839 def departs_at @departs_at end |
#departure_location ⇒ Object
Identifier name or reference for the origin location.
3841 3842 3843 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3841 def departure_location @departure_location end |