Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Segment::Arrival
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Segment::Arrival
- Defined in:
- lib/stripe/params/payment_intent_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.
1104 1105 1106 1107 1108 1109 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1104 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.
1096 1097 1098 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1096 def airport @airport end |
#arrives_at ⇒ Object
Arrival date/time.
1098 1099 1100 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1098 def arrives_at @arrives_at end |
#city ⇒ Object
Arrival city.
1100 1101 1102 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1100 def city @city end |
#country ⇒ Object
Arrival country.
1102 1103 1104 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1102 def country @country end |