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
Constructor Details
#initialize(airport: nil, city: nil, country: nil, departs_at: nil) ⇒ Departure
Returns a new instance of Departure.
1106 1107 1108 1109 1110 1111 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1106 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.
1098 1099 1100 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1098 def airport @airport end |
#city ⇒ Object
Departure city.
1100 1101 1102 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1100 def city @city end |
#country ⇒ Object
Departure country.
1102 1103 1104 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1102 def country @country end |
#departs_at ⇒ Object
Departure date/time.
1104 1105 1106 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1104 def departs_at @departs_at end |