HplEmail Data Type

Created with IntelliJ IDEA. User: kstauffe Date: 9/24/13 Time: 10:49 AM To change this template use File | Settings | File Templates.

Properties
name data type constraints description
hplSetting HplSettings  
email string required
summaryWithoutErrors boolean required Flag indicating whether or not to send the summary email if there are no errors
summaryWithErrors boolean required Flag indicating whether or not to send the summary email if there are errors
faxSuccess boolean required Flag indicating whether or not to send the fax summary email if it was successful
faxFailed boolean required Flag indicating whether or not to send the fax summary email if it failed
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

{
  "hplSetting" : {
    "hplEnabled" : true,
    "hplLite" : true,
    "allowAllHotelCharges" : true,
    "contactNumberOverride" : "...",
    "showMainContactLine" : true,
    "showCardHolderContactLine" : true,
    "enableItinRequeue" : true,
    "customText" : "...",
    "customText2" : "...",
    "udfDateFormat" : "...",
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "allowAnonymousDownload" : true,
    "contact" : {
      "client" : { },
      "position" : 12345,
      "name" : "...",
      "title" : "...",
      "phone" : "...",
      "ext" : "...",
      "phone2" : "...",
      "ext2" : "...",
      "email" : "...",
      "address1" : "...",
      "address2" : "...",
      "city" : "...",
      "state" : "...",
      "zip" : "...",
      "signature" : "...",
      "keyContact" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "maskedCreditCard" : {
      "id" : 12345,
      "clientId" : 12345,
      "number" : "...",
      "expireDate" : 12345,
      "cvc" : "...",
      "type" : "...",
      "bank" : "...",
      "name" : "...",
      "title" : "...",
      "phone" : "...",
      "email" : "...",
      "ghostCard" : true,
      "cardFront" : "...",
      "cardBack" : "...",
      "signature" : true,
      "payType" : { },
      "address1" : "...",
      "address2" : "...",
      "zip" : "...",
      "city" : "...",
      "region" : { }
    },
    "faxOnThursThruSun" : true,
    "issuingBank" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "email" : "...",
  "summaryWithoutErrors" : true,
  "summaryWithErrors" : true,
  "faxSuccess" : true,
  "faxFailed" : true,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}