AirVendor Data Type

An element representing air vendors for Airportal.

Properties
name data type constraints description
airlineNumber number   The airline number of the vendor.
checkinLink string   Link to check in.
baggageLink string   Link to baggage information for the carrier.
alliance AirVendorAlliance   The air alliance that this vendor belongs to.
lowCostCarrier boolean   Whether this carrier is a low cost carrier or not.
longCode string  
manualTicketingOnly boolean   Whether this carrier allows automated electronic ticketing.
airTicketsUseOrigIssueDate boolean   Whether or not this airline calculates the expiration dates using the original ticket or the current one in an exchange.
mcoTicketsUseOrigIssueDate boolean   Whether or not this airline calculates the expiration dates of MCOs using the original ticket or the current one in an exchange.
minDomesticValue number required The minimum value of a domestic ticket that is worth exchanging.
minIntlValue number required The minimum value of an international ticket that is worth exchanging.
position number required The position to display this vendor in drop-downs. This is representative of how much we use this vendor in contracts/bookings.
Properties inherited from AirportalVendor
code string  
name string  
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "airlineNumber" : 12345,
  "checkinLink" : "...",
  "baggageLink" : "...",
  "alliance" : {
    "sharesFrequentFlyerNumbers" : true,
    "name" : "...",
    "code" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "lowCostCarrier" : true,
  "longCode" : "...",
  "manualTicketingOnly" : true,
  "airTicketsUseOrigIssueDate" : true,
  "mcoTicketsUseOrigIssueDate" : true,
  "minDomesticValue" : 12345,
  "minIntlValue" : 12345,
  "position" : 12345,
  "code" : "...",
  "name" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}