HotelChainClientContract Data Type

A contract held with a client that is particular to a full hotel chain as opposed to a single property. User: nick Date: 3/11/14 Time: 3:12 PM

Properties
name data type constraints description
vendor HotelVendor   The hotel chain/vendor that this contract was signed with.
favorite boolean required boolean Whether or not this is a favorite contract of the client.
family boolean required boolean Whether or not this rate is shared with the rest of the hotel's family.
code string   The rate plan code to use when booking the rate.
type string   The type of contract.
fileLocation string  
expirationDate number  
ignored boolean required boolean Whether or not this contract should be ignored during validation.
Properties inherited from AirportalClientContract
client Client  
notes string  
accountNumber string  
name string  
chain AirportalVendor  
preferred boolean required boolean
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

{
  "vendor" : {
    "longCode" : "...",
    "commissionRate" : 12345.0,
    "family" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "position" : 12345,
    "code" : "...",
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "favorite" : true,
  "family" : true,
  "code" : "...",
  "type" : "...",
  "fileLocation" : "...",
  "expirationDate" : 12345,
  "ignored" : true,
  "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" : "..."
    } ]
  },
  "notes" : "...",
  "accountNumber" : "...",
  "name" : "...",
  "chain" : {
    "code" : "...",
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "preferred" : true,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}