A car client contract is a contract held between the account and the rental agency. Typically identified by a corporate discount number or a billing id. Created with IntelliJ IDEA. User: nick Date: 11/22/13 Time: 9:59 AM Car contracts are the relation between a client and a car rental agency for special rates and privileges.
| name | data type | constraints | description |
|---|---|---|---|
| vendor | CarVendor | The vendor that agreed to this contract. | |
| billingId | string | The billing id that the vendor uses to identify the form of payment to bill any rentals to. | |
| insuranceIncluded | boolean | required boolean | |
| fileLocation | string | ||
| favorite | boolean | required boolean | |
| supplementalInstructions | string | ||
| billingIsCorpDiscount | boolean | required boolean | Determines whether the billing id should be placed in the corp discount # of PNRs |
| ignored | boolean | required boolean | Whether or not this contract should be ignored during validation. |
| override | boolean | required boolean | Determines whether to override existing billing/corp discounts with the values given. |
| contactName | string | The name of the primary contact at the vendor for this contract. | |
| ext | string | ||
| contactPhone | string | The phone of the primary contact at the vendor for this contract. | |
| contactEmail | string | The email of the primary contact at the vendor for this contract. | |
| contractUrls | array of CarClientContractFileLink | A collection of file URLs associated with this contract. | |
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,
"position" : 12345,
"code" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"billingId" : "...",
"insuranceIncluded" : true,
"fileLocation" : "...",
"favorite" : true,
"supplementalInstructions" : "...",
"billingIsCorpDiscount" : true,
"ignored" : true,
"override" : true,
"contactName" : "...",
"ext" : "...",
"contactPhone" : "...",
"contactEmail" : "...",
"contractUrls" : [ {
"url" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}, {
"url" : "...",
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
} ],
"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" : "..."
} ]
}