Class: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg
- Defined in:
- lib/increase/models/transaction.rb
Defined Under Namespace
Modules: StopOverCode
Instance Attribute Summary collapse
-
#carrier_code ⇒ String?
Carrier code (e.g., United Airlines, Jet Blue, etc.).
-
#destination_city_airport_code ⇒ String?
Code for the destination city or airport.
-
#fare_basis_code ⇒ String?
Fare basis code.
-
#flight_number ⇒ String?
Flight number.
-
#service_class ⇒ String?
Service class (e.g., first class, business class, etc.).
-
#stop_over_code ⇒ Symbol, ...
Indicates whether a stopover is allowed on this ticket.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(carrier_code: , destination_city_airport_code: , fare_basis_code: , flight_number: , service_class: , stop_over_code: ) ⇒ Object
|
|
# File 'lib/increase/models/transaction.rb', line 5149
|
Instance Attribute Details
#carrier_code ⇒ String?
Carrier code (e.g., United Airlines, Jet Blue, etc.).
5113 |
# File 'lib/increase/models/transaction.rb', line 5113 required :carrier_code, String, nil?: true |
#destination_city_airport_code ⇒ String?
Code for the destination city or airport.
5119 |
# File 'lib/increase/models/transaction.rb', line 5119 required :destination_city_airport_code, String, nil?: true |
#fare_basis_code ⇒ String?
Fare basis code.
5125 |
# File 'lib/increase/models/transaction.rb', line 5125 required :fare_basis_code, String, nil?: true |
#flight_number ⇒ String?
Flight number.
5131 |
# File 'lib/increase/models/transaction.rb', line 5131 required :flight_number, String, nil?: true |
#service_class ⇒ String?
Service class (e.g., first class, business class, etc.).
5137 |
# File 'lib/increase/models/transaction.rb', line 5137 required :service_class, String, nil?: true |
#stop_over_code ⇒ Symbol, ...
Indicates whether a stopover is allowed on this ticket.
5143 5144 5145 5146 5147 |
# File 'lib/increase/models/transaction.rb', line 5143 required :stop_over_code, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode }, nil?: true |