HotelVendor Data Type

An element that represents vendors for hotel segments.

Properties
name data type constraints description
longCode string   A long code that can be used by agents to identify tickets. These codes are usually agreed upon between agents and accounting.
commissionRate number required The percentage that this hotel will give back to the agent of each booking.
family HotelFamily   The family of hotels that this vendor belongs to.
position number required
Properties inherited from AirportalVendor
code string  
name 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

{
  "longCode" : "...",
  "commissionRate" : 12345.0,
  "family" : {
    "name" : "...",
    "code" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "position" : 12345,
  "code" : "...",
  "name" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}