ItinerarySavingsDetail Data Type

The individual parts that make up itinerary savings summary totals. We translate these from the UDIDs on incoming invoices, which are mapped to the ValueLogicUdid class

See Also
ValuelogicUdidService
See Also
ValuelogicUdidInfo
Properties
name data type constraints description
description string   The description that was provided, provided by description UDIDs
value number   The savings value, if any.
service ValuelogicUdidService required The corresponding ValueLogicUdid service.
itinerarySavingsSummary ItinerarySavingsSummary required
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

{
  "description" : "...",
  "value" : 12345.0,
  "service" : {
    "name" : "...",
    "code" : "...",
    "softSavings" : true,
    "udidInfo" : {
      "udidNumbers" : [ { }, { } ],
      "name" : "...",
      "travelType" : { },
      "description" : true,
      "detail" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "needsDescription" : true,
    "descriptionUdid" : {
      "udidNumbers" : [ { }, { } ],
      "name" : "...",
      "travelType" : { },
      "description" : true,
      "detail" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "itinerarySavingsSummary" : {
    "totalSavings" : 12345.0,
    "airSavings" : 12345.0,
    "carSavings" : 12345.0,
    "hotelSavings" : 12345.0,
    "voidSavings" : 12345.0,
    "miscSavings" : 12345.0,
    "savingsType" : {
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "airHardQuantity" : 12345,
    "carHardQuantity" : 12345,
    "hotelHardQuantity" : 12345,
    "miscHardQuantity" : 12345,
    "airSoftQuantity" : 12345,
    "carSoftQuantity" : 12345,
    "hotelSoftQuantity" : 12345,
    "miscSoftQuantity" : 12345,
    "totalNumberOfSavings" : 12345,
    "itinerary" : {
      "recordLocator" : "...",
      "agentName" : "...",
      "client" : { },
      "office" : { },
      "departureDate" : 12345,
      "completionDate" : 12345,
      "importDate" : 12345,
      "gds" : { },
      "hide" : true,
      "citySummary" : "...",
      "departureCity" : { },
      "arrivalCity" : { },
      "arrivalDate" : 12345,
      "utcArrivalDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "purpose" : "...",
      "explanation" : "...",
      "authorizationCode" : "...",
      "costCenterCode" : "...",
      "departmentCode" : "...",
      "clientCode" : "...",
      "regionCode" : "...",
      "billable" : "...",
      "travelerCode" : "...",
      "managerCode" : "...",
      "projectCode" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "lastUpdated" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}