Airline class abstract

Airline

Properties:

  • agency
  • boardingFee - The amount charged for boarding the plane, in minor units. * Encoding: Numeric * minLength: 1 character * maxLength: 11 characters
  • code - The IATA 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not start with a space or be all spaces. * Must not be all zeros.
  • computerizedReservationSystem - The CRS used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters
  • customerReferenceNumber - The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not start with a space or be all spaces.
  • designatorCode - The IATA 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not start with a space or be all spaces.
  • documentType - A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters
  • flightDate - The flight departure date. Time is optional. * Format for date only: yyyy-MM-dd * Format for date and time: yyyy-MM-ddTHH:mm * Use local time of departure airport. * minLength: 10 characters * maxLength: 16 characters
  • legs
  • passengerName - The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: FLYER / MARY MS * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not start with a space or be all spaces. * Must not be all zeros.
  • passengers
  • ticket
  • travelAgency
Annotations
  • @BuiltValue.new()

Constructors

Airline([void updates(AirlineBuilder b)])
factory

Properties

agency Agency?
no setter
boardingFee int?
The amount charged for boarding the plane, in minor units. * Encoding: Numeric * minLength: 1 character * maxLength: 11 characters
no setter
code String?
The IATA 3-digit accounting code (PAX) that identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 characters * maxLength: 3 characters * Must not start with a space or be all spaces. * Must not be all zeros.
no setter
computerizedReservationSystem String?
The CRS used to make the reservation and purchase the ticket. * Encoding: ASCII * minLength: 4 characters * maxLength: 4 characters
no setter
customerReferenceNumber String?
The alphanumeric customer reference number. * Encoding: ASCII * maxLength: 20 characters * If you send more than 20 characters, the customer reference number is truncated * Must not start with a space or be all spaces.
no setter
designatorCode String?
The IATA 2-letter accounting code (PAX) that identifies the carrier. * Encoding: ASCII * Example: KLM = KL * minLength: 2 characters * maxLength: 2 characters * Must not start with a space or be all spaces.
no setter
documentType String?
A code that identifies the type of item bought. The description of the code can appear on credit card statements. * Encoding: ASCII * Example: Passenger ticket = 01 * minLength: 2 characters * maxLength: 2 characters
no setter
flightDate DateTime?
The flight departure date. Time is optional. * Format for date only: yyyy-MM-dd * Format for date and time: yyyy-MM-ddTHH:mm * Use local time of departure airport. * minLength: 10 characters * maxLength: 16 characters
no setter
hashCode int
The hash code for this object.
no setterinherited
legs → BuiltList<Leg>?
no setter
passengerName String
The passenger's name, initials, and title. * Format: last name + first name or initials + title * Example: FLYER / MARY MS * minLength: 1 character * maxLength: 20 characters * If you send more than 20 characters, the name is truncated * Must not start with a space or be all spaces. * Must not be all zeros.
no setter
passengers → BuiltList<Passenger>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticket Ticket?
no setter
travelAgency TravelAgency?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(AirlineBuilder)) Airline
Rebuilds the instance.
inherited
toBuilder() AirlineBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Airline>
no setter