Class: Stripe::PaymentIntentCreateParams::PaymentDetails::FlightDatum::Segment::Departure
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::FlightDatum::Segment::Departure
- Defined in:
- lib/stripe/params/payment_intent_create_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.
1175 1176 1177 1178 1179 1180 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1175 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.
1167 1168 1169 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1167 def airport @airport end |
#city ⇒ Object
Departure city.
1169 1170 1171 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1169 def city @city end |
#country ⇒ Object
Departure country.
1171 1172 1173 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1171 def country @country end |
#departs_at ⇒ Object
Departure date/time.
1173 1174 1175 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1173 def departs_at @departs_at end |