Class: Stripe::ChargeCaptureParams::PaymentDetails::FlightDatum::Segment::Arrival
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeCaptureParams::PaymentDetails::FlightDatum::Segment::Arrival
- Defined in:
- lib/stripe/params/charge_capture_params.rb
Instance Attribute Summary collapse
-
#airport ⇒ Object
Arrival airport IATA code.
-
#arrives_at ⇒ Object
Arrival date/time.
-
#city ⇒ Object
Arrival city.
-
#country ⇒ Object
Arrival country.
Instance Method Summary collapse
-
#initialize(airport: nil, arrives_at: nil, city: nil, country: nil) ⇒ Arrival
constructor
A new instance of Arrival.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(airport: nil, arrives_at: nil, city: nil, country: nil) ⇒ Arrival
Returns a new instance of Arrival.
972 973 974 975 976 977 |
# File 'lib/stripe/params/charge_capture_params.rb', line 972 def initialize(airport: nil, arrives_at: nil, city: nil, country: nil) @airport = airport @arrives_at = arrives_at @city = city @country = country end |
Instance Attribute Details
#airport ⇒ Object
Arrival airport IATA code.
964 965 966 |
# File 'lib/stripe/params/charge_capture_params.rb', line 964 def airport @airport end |
#arrives_at ⇒ Object
Arrival date/time.
966 967 968 |
# File 'lib/stripe/params/charge_capture_params.rb', line 966 def arrives_at @arrives_at end |
#city ⇒ Object
Arrival city.
968 969 970 |
# File 'lib/stripe/params/charge_capture_params.rb', line 968 def city @city end |
#country ⇒ Object
Arrival country.
970 971 972 |
# File 'lib/stripe/params/charge_capture_params.rb', line 970 def country @country end |