Class: Stripe::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Flight::Segment
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Flight::Segment
- Defined in:
- lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb
Instance Attribute Summary collapse
-
#arrival_airport_code ⇒ Object
The three-letter IATA airport code of the flight’s destination.
-
#carrier ⇒ Object
The airline carrier code.
-
#departure_airport_code ⇒ Object
The three-letter IATA airport code that the flight departed from.
-
#flight_number ⇒ Object
The flight number.
-
#service_class ⇒ Object
The flight’s service class.
-
#stopover_allowed ⇒ Object
Whether a stopover is allowed on this flight.
Instance Method Summary collapse
-
#initialize(arrival_airport_code: nil, carrier: nil, departure_airport_code: nil, flight_number: nil, service_class: nil, stopover_allowed: nil) ⇒ Segment
constructor
A new instance of Segment.
Methods inherited from RequestParams
Constructor Details
#initialize(arrival_airport_code: nil, carrier: nil, departure_airport_code: nil, flight_number: nil, service_class: nil, stopover_allowed: nil) ⇒ Segment
Returns a new instance of Segment.
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 159 def initialize( arrival_airport_code: nil, carrier: nil, departure_airport_code: nil, flight_number: nil, service_class: nil, stopover_allowed: nil ) @arrival_airport_code = arrival_airport_code @carrier = carrier @departure_airport_code = departure_airport_code @flight_number = flight_number @service_class = service_class @stopover_allowed = stopover_allowed end |
Instance Attribute Details
#arrival_airport_code ⇒ Object
The three-letter IATA airport code of the flight’s destination.
147 148 149 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 147 def arrival_airport_code @arrival_airport_code end |
#carrier ⇒ Object
The airline carrier code.
149 150 151 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 149 def carrier @carrier end |
#departure_airport_code ⇒ Object
The three-letter IATA airport code that the flight departed from.
151 152 153 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 151 def departure_airport_code @departure_airport_code end |
#flight_number ⇒ Object
The flight number.
153 154 155 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 153 def flight_number @flight_number end |
#service_class ⇒ Object
The flight’s service class.
155 156 157 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 155 def service_class @service_class end |
#stopover_allowed ⇒ Object
Whether a stopover is allowed on this flight.
157 158 159 |
# File 'lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb', line 157 def stopover_allowed @stopover_allowed end |