The most basic entity type in our domain. We require that there is a location open to enter violations, so that this information can be returned to the client.
| name | data type | description |
|---|---|---|
| numBookings | number | |
| savingsAmount | number | |
| savingsAverage | number | |
| bookingsWithHardSavings | number | |
| softSavings | number | |
Properties inherited from BaseEntity |
||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. |
Example
{
"numBookings" : 12345,
"savingsAmount" : 12345.0,
"savingsAverage" : 12345.0,
"bookingsWithHardSavings" : 12345,
"softSavings" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}