HplSettings Data Type

HPL Settings stores the configuration for how Airportal should create payment remittances for hotel services. User: Kurt Stauffer Date: 9/24/13 Time: 9:45 AM

Properties
name data type constraints description
hplEnabled boolean required
hplLite boolean required
allowAllHotelCharges boolean required
contactNumberOverride string  
showMainContactLine boolean  
showCardHolderContactLine boolean  
enableItinRequeue boolean  
customText string  
customText2 string  
downloadPdfAuthorization boolean  
emailAuthorization boolean  
faxAuthorization boolean  
udfDateFormat string  
client Client  
allowAnonymousDownload boolean  
contact ClientContact  
maskedCreditCard MaskedCreditCard   The form of payment used if this HPL setup is using a multi-use card instead of a one time use card.
faxOnThursThruSun boolean  
issuingBank string  
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

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