Class: Yoomoney::Models::Airline
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::Airline
- Defined in:
- lib/yoomoney/models/airline.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #booking_reference ⇒ String?
- #legs ⇒ Array<Yoomoney::Models::Airline::Leg>?
- #passengers ⇒ Array<Yoomoney::Models::Airline::Passenger>?
- #ticket_number ⇒ String?
Instance Method Summary collapse
- #initialize(departure_airport:, departure_date:, destination_airport:, carrier_code: nil) ⇒ Object constructor
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(departure_airport:, departure_date:, destination_airport:, carrier_code: nil) ⇒ Object
|
|
# File 'lib/yoomoney/models/airline.rb', line 53
|
Instance Attribute Details
#booking_reference ⇒ String?
9 |
# File 'lib/yoomoney/models/airline.rb', line 9 optional :booking_reference, String |
#legs ⇒ Array<Yoomoney::Models::Airline::Leg>?
14 |
# File 'lib/yoomoney/models/airline.rb', line 14 optional :legs, -> { Yoomoney::Internal::Type::ArrayOf[Yoomoney::Airline::Leg] } |
#passengers ⇒ Array<Yoomoney::Models::Airline::Passenger>?
19 |
# File 'lib/yoomoney/models/airline.rb', line 19 optional :passengers, -> { Yoomoney::Internal::Type::ArrayOf[Yoomoney::Airline::Passenger] } |
#ticket_number ⇒ String?
24 |
# File 'lib/yoomoney/models/airline.rb', line 24 optional :ticket_number, String |