The class code is the code that represents the type of seating in the ticket. Like first class or coach.
| name | data type | constraints | description |
|---|---|---|---|
| vendor | AirVendor | The vendor that uses this code. | |
| code | string | required | The code. |
| description | string | 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 | required | The BCD standardized version of the class of service. Use this when comparing across airlines. |
| basic | boolean | required boolean | 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). |
| transAtlantic | boolean | required boolean | A class of service special for traveling across the Atlantic. This code may be duplicated with domestic fares. |
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
{
"vendor" : {
"airlineNumber" : 12345,
"checkinLink" : "...",
"baggageLink" : "...",
"alliance" : {
"sharesFrequentFlyerNumbers" : true,
"name" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"lowCostCarrier" : true,
"longCode" : "...",
"manualTicketingOnly" : true,
"airTicketsUseOrigIssueDate" : true,
"mcoTicketsUseOrigIssueDate" : true,
"minDomesticValue" : 12345,
"minIntlValue" : 12345,
"position" : 12345,
"imageUrl" : "...",
"code" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"code" : "...",
"description" : "...",
"serviceLevel" : {
"name" : "...",
"code" : "...",
"value" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"basic" : true,
"transAtlantic" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}