Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Segment::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Segment::Departure
- Defined in:
- lib/stripe/params/payment_intent_capture_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.
1122 1123 1124 1125 1126 1127 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1122 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.
1114 1115 1116 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1114 def airport @airport end |
#city ⇒ Object
Departure city.
1116 1117 1118 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1116 def city @city end |
#country ⇒ Object
Departure country.
1118 1119 1120 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1118 def country @country end |
#departs_at ⇒ Object
Departure date/time.
1120 1121 1122 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1120 def departs_at @departs_at end |