Created with IntelliJ IDEA. User: nick Date: 11/22/13 Time: 9:37 AM Hotel contracts relate the clients to the hotel that they have agreed with on special deals or privileges.
| name | data type | constraints | description |
|---|---|---|---|
| hotel | HotelLocation | ||
| type | string | ||
| favorite | boolean | required boolean | |
| expirationDate | number | ||
| loadedDate | number | ||
| contactName | string | ||
| contactPhone | string | ||
| ext | string | ||
| contactEmail | string | ||
| fileLocation | string | ||
| rate | number | ||
| code | string | ||
| ignored | boolean | required boolean | Whether or not this contract should be ignored during validation. |
| supplementalInstructions | string | ||
| override | boolean | required boolean | Determines whether to override the corp discount in ticketed PNRs. |
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
{
"hotel" : {
"address1" : "...",
"address2" : "...",
"phone1" : "...",
"phone2" : "...",
"fax" : "...",
"zip" : "...",
"city" : {
"code" : "...",
"countryCode" : "...",
"latitude" : 12345.0,
"longitude" : 12345.0,
"name" : "...",
"stateOrCountry" : "...",
"airportName" : "...",
"region" : { },
"timeZone" : { },
"retentionOnly" : true,
"position" : 12345,
"unique" : true,
"alias" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"vendor" : {
"longCode" : "...",
"commissionRate" : 12345.0,
"family" : { },
"position" : 12345,
"code" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"latitude" : 12345.0,
"sertifiCode" : "...",
"googlePlaceId" : "...",
"longitude" : 12345.0,
"propertyName" : "...",
"propertyCodes" : [ {
"gds" : { },
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"gds" : { },
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"type" : "...",
"favorite" : true,
"expirationDate" : 12345,
"loadedDate" : 12345,
"contactName" : "...",
"contactPhone" : "...",
"ext" : "...",
"contactEmail" : "...",
"fileLocation" : "...",
"rate" : 12345.0,
"code" : "...",
"ignored" : true,
"supplementalInstructions" : "...",
"override" : 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" : "..."
} ]
}