Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::FlightDatum::Segment::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::FlightDatum::Segment::Departure
- Defined in:
- lib/stripe/params/payment_intent_confirm_params.rb
Instance Attribute Summary collapse
-
#airport ⇒ Object
Departure airport IATA code.
-
#city ⇒ Object
Departure city.
-
#country ⇒ Object
Departure country.
-
#departs_at ⇒ Object
Departure date/time.
Instance Method Summary collapse
-
#initialize(airport: nil, city: nil, country: nil, departs_at: 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(airport: nil, city: nil, country: nil, departs_at: nil) ⇒ Departure
Returns a new instance of Departure.
1301 1302 1303 1304 1305 1306 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1301 def initialize(airport: nil, city: nil, country: nil, departs_at: nil) @airport = airport @city = city @country = country @departs_at = departs_at end |
Instance Attribute Details
#airport ⇒ Object
Departure airport IATA code.
1293 1294 1295 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1293 def airport @airport end |
#city ⇒ Object
Departure city.
1295 1296 1297 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1295 def city @city end |
#country ⇒ Object
Departure country.
1297 1298 1299 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1297 def country @country end |
#departs_at ⇒ Object
Departure date/time.
1299 1300 1301 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1299 def departs_at @departs_at end |