TravelPolicyDisplay Data Type

A travel policy display is a short summary of what the agent should pay attention to for the account"s travel policy. An account"s travel policy should be the result of a list of these texts. If none of these are created, the travel policy will automatically build bulletpoints from the actual travel policy record. Created by nick on 2/17/17.

Properties
name data type description
order number The order in which this bulletpoint should be in the list. 0 is earlier than 1.
text string A short summary of text that explains to the agent what to do for a particular booking type.
policy TravelPolicy The policy that this display is describing.
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

{
  "order" : 12345,
  "text" : "...",
  "policy" : {
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "name" : "...",
    "modified" : 12345,
    "ruleClasses" : [ {
      "message" : "...",
      "action" : { },
      "rules" : [ { }, { } ],
      "reviewer" : { },
      "addMessage" : true,
      "queue" : { },
      "override" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "message" : "...",
      "action" : { },
      "rules" : [ { }, { } ],
      "reviewer" : { },
      "addMessage" : true,
      "queue" : { },
      "override" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "domesticCountries" : [ {
      "name" : "...",
      "code" : "...",
      "codeAlt" : "...",
      "phoneCode" : 12345,
      "position" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "name" : "...",
      "code" : "...",
      "codeAlt" : "...",
      "phoneCode" : 12345,
      "position" : 12345,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "stopsLLF" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "contractCarriersOnlyLLF" : true,
    "timeWindowLLF" : 12345,
    "advancedPurchaseLLF" : 12345,
    "defaultAction" : {
      "name" : "...",
      "description" : "...",
      "possibleReviewers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "refundabilityLLF" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "defaultReviewer" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}