classOfService Data Type

The class code is the code that represents the type of seating in the ticket. Like first class or coach.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
basic boolean element 1/1   A basic class of service has the same cabin as others, however, it comes without any benefits unless paid for separately. Like no baggage, or refunds, or restroom privileges (its an Asian airline thing).
code string element 1/1 required The code.
description string element 0/1   A short description of what the code means. This is airline specific. See the Class of Service Level for a more generic definition.
serviceLevel classOfServiceLevel element 1/1 required The BCD standardized version of the class of service. Use this when comparing across airlines.
transAtlantic boolean element 1/1   A class of service special for traveling across the Atlantic. This code may be duplicated with domestic fares.
vendor airVendor element 0/1   The vendor that uses this code.
Properties inherited from baseHibernateEntity
id long element 0/1   The unique internal ID of the object.
version long element 0/1   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded   A list of constraint violations, if any, that this object has.

Example

<classOfService>
  <vendor>
    <airlineNumber>...</airlineNumber>
    <checkinLink>...</checkinLink>
    <baggageLink>...</baggageLink>
    <alliance>
      <sharesFrequentFlyerNumbers>...</sharesFrequentFlyerNumbers>
      <name>...</name>
      <code>...</code>
    </alliance>
    <lowCostCarrier>...</lowCostCarrier>
    <longCode>...</longCode>
    <manualTicketingOnly>...</manualTicketingOnly>
    <airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
    <mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
    <minDomesticValue>...</minDomesticValue>
    <minIntlValue>...</minIntlValue>
    <position>...</position>
    <imageUrl>...</imageUrl>
    <code>...</code>
    <name>...</name>
  </vendor>
  <code>...</code>
  <description>...</description>
  <serviceLevel>
    <name>...</name>
    <code>...</code>
    <value>...</value>
    <id>...</id>
    <version>...</version>
  </serviceLevel>
  <basic>...</basic>
  <transAtlantic>...</transAtlantic>
  <id>...</id>
  <version>...</version>
  <violations/>
</classOfService>