travelPolicyRuleClass Data Type

One rule class creates one violation each. This is where the message for the violation is stored. Created by nick on 1/29/15.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
action travelPolicyAction element 0/1   The action to take when the itinerary violates this rule.
addMessage boolean element 1/1 required boolean Whether or not to add any message at all to the PNR if the rule class is triggered.
message string element 0/1   The error message to override the rule messages with.
override boolean element 1/1 required boolean The value indicates if the rule class needs to be override.
queue queue element 0/1   The queue that this PNR should be sent to upon violation.
reviewer travelPolicyReviewer element 0/1   The reviewer that this class' action will be inflicted upon.
rules list of travelPolicyRule element 0/unbounded   The rules that this class consists of.
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

<travelPolicyRuleClass>
  <message>...</message>
  <action>
    <name>...</name>
    <description>...</description>
    <possibleReviewers>
      <name>...</name>
    </possibleReviewers>
    <id>...</id>
    <version>...</version>
  </action>
  <rules>
    <type>
      <description>...</description>
      <message>...</message>
      <travelType/>
      <valueType>...</valueType>
      <operators/>
      <units/>
    </type>
    <operator>
      <code>...</code>
      <name>...</name>
    </operator>
    <value>...</value>
    <unit>
      <code>...</code>
      <name>...</name>
    </unit>
    <airlines>
      <airlineNumber>...</airlineNumber>
      <checkinLink>...</checkinLink>
      <baggageLink>...</baggageLink>
      <alliance/>
      <lowCostCarrier>...</lowCostCarrier>
      <longCode>...</longCode>
      <manualTicketingOnly>...</manualTicketingOnly>
      <airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
      <mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
      <minDomesticValue>...</minDomesticValue>
      <minIntlValue>...</minIntlValue>
      <position>...</position>
      <imageUrl>...</imageUrl>
    </airlines>
    <carClasses>
      <code>...</code>
      <description>...</description>
      <position>...</position>
      <size>...</size>
    </carClasses>
    <carTypes>
      <code>...</code>
      <description>...</description>
      <position>...</position>
      <size>...</size>
    </carTypes>
    <hotelProperties>
      <address1>...</address1>
      <address2>...</address2>
      <phone1>...</phone1>
      <phone2>...</phone2>
      <fax>...</fax>
      <zip>...</zip>
      <city/>
      <vendor/>
      <latitude>...</latitude>
      <sertifiCode>...</sertifiCode>
      <googlePlaceId>...</googlePlaceId>
      <longitude>...</longitude>
      <propertyName>...</propertyName>
      <propertyCodes/>
    </hotelProperties>
    <classOfServiceLevels>
      <name>...</name>
      <code>...</code>
      <value>...</value>
    </classOfServiceLevels>
    <countries>
      <name>...</name>
      <code>...</code>
      <codeAlt>...</codeAlt>
      <phoneCode>...</phoneCode>
      <position>...</position>
    </countries>
    <cities>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </cities>
    <hotelVendors>
      <longCode>...</longCode>
      <commissionRate>...</commissionRate>
      <family/>
      <position>...</position>
    </hotelVendors>
    <carVendors>
      <longCode>...</longCode>
      <commissionRate>...</commissionRate>
      <position>...</position>
    </carVendors>
    <id>...</id>
    <version>...</version>
  </rules>
  <reviewer>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </reviewer>
  <addMessage>...</addMessage>
  <queue>
    <number>...</number>
    <category>...</category>
    <pcc>...</pcc>
    <description>...</description>
    <gds>
      <code>...</code>
      <name>...</name>
      <enabled>...</enabled>
    </gds>
    <sorts>
      <push/>
      <onRemark>...</onRemark>
      <notOnRemark>...</notOnRemark>
      <onOffice/>
      <onClient/>
      <onDepartureCity/>
      <onArrivalCity/>
      <description>...</description>
      <onAirVendor/>
      <notOnOffice/>
      <onInternational>...</onInternational>
      <onTicketed>...</onTicketed>
      <notClient/>
      <notTicketed>...</notTicketed>
      <onToday>...</onToday>
      <notToday>...</notToday>
      <onInvoice>...</onInvoice>
      <notInvoice>...</notInvoice>
      <onSegments>...</onSegments>
      <notSegments>...</notSegments>
      <onOpenJaw>...</onOpenJaw>
      <onCircle>...</onCircle>
      <onOneWay>...</onOneWay>
      <onRoundTrip>...</onRoundTrip>
      <notAir>...</notAir>
      <onUser/>
      <onHotelChange>...</onHotelChange>
    </sorts>
    <airtineraryQueue>...</airtineraryQueue>
    <importQueue>...</importQueue>
    <availableTimeRange>...</availableTimeRange>
    <maximumPops>...</maximumPops>
    <overrideSortCategory>...</overrideSortCategory>
    <failureQueue>...</failureQueue>
    <failureCategory>...</failureCategory>
    <agentQueue>...</agentQueue>
    <agent>
      <user/>
      <agentCode>...</agentCode>
      <office/>
      <workEmail>...</workEmail>
      <active>...</active>
      <type>...</type>
      <emailList>...</emailList>
      <category>...</category>
      <directLine>...</directLine>
      <hours>...</hours>
      <onlineAgent>...</onlineAgent>
      <recheckEmails>...</recheckEmails>
      <serviceFeesPct>...</serviceFeesPct>
      <otherServiceFeesPct>...</otherServiceFeesPct>
      <internationalAirCommissionPct>...</internationalAirCommissionPct>
      <miscCommissionPct>...</miscCommissionPct>
      <airCommissionPct>...</airCommissionPct>
      <hotelCommissionPct>...</hotelCommissionPct>
      <carCommissionPct>...</carCommissionPct>
      <employeeType/>
      <ticketingAgent>...</ticketingAgent>
      <supportAgent>...</supportAgent>
      <onsiteAgent>...</onsiteAgent>
    </agent>
    <failurePcc>...</failurePcc>
    <agentExclusions>
      <agent/>
      <onClient/>
      <onOffice/>
      <onAgent/>
    </agentExclusions>
    <ticketingQueue>...</ticketingQueue>
    <validationQueue>...</validationQueue>
    <type>
      <name>...</name>
      <code>...</code>
    </type>
    <hplQueue>...</hplQueue>
    <logEnabled>...</logEnabled>
    <airselectQueue>...</airselectQueue>
    <defaultQueue/>
    <autoScheduleChange>...</autoScheduleChange>
    <id>...</id>
    <version>...</version>
  </queue>
  <override>...</override>
  <id>...</id>
  <version>...</version>
  <violations/>
</travelPolicyRuleClass>