A specific type of savings entered by the user, we use these to categorize all the invoice savings records that come into the system. A service belongs to a specific UDID, each valuelogic UDID string has a code attached to it. When we parse the UDID string we get the UDID number and code, which matched it up to a specific service.
| name | data type | constraints | description |
|---|---|---|---|
| name | string | ||
| code | string | ||
| softSavings | boolean | required boolean | |
| udidInfo | ValuelogicUdidInfo | ||
| needsDescription | boolean | required boolean | |
| descriptionUdid | ValuelogicUdidInfo | ||
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
{
"name" : "...",
"code" : "...",
"softSavings" : true,
"udidInfo" : {
"udidNumbers" : [ {
"number" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"number" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"name" : "...",
"travelType" : {
"travelType" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"description" : true,
"detail" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"needsDescription" : true,
"descriptionUdid" : {
"udidNumbers" : [ {
"number" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"number" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"name" : "...",
"travelType" : {
"travelType" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"description" : true,
"detail" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}