A payment made in response to a fare charge.
| name | data type | type | namespace | min/max occurs | constraints | description |
|---|---|---|---|---|---|---|
| amount | double | element | 0/1 | The amount that was paid. | ||
| creditCardType | string | element | 0/1 | The credit card type that the payment was made on. | ||
| currency | string | element | 0/1 | The currency that the amount was paid in. | ||
| lastDigits | string | element | 0/1 | max size: 5, min size: 0 | The last 5 digits of a credit card. This is so that users can search by the last couple digits of a credit card number. | |
| notes | string | element | 0/1 | Any notes about the payment. | ||
| paymentCode | string | element | 0/1 | The payment type, cash or credit | ||
Properties inherited from baseHibernateEntity |
||||||
| id | long | element | 0/1 | The unique internal ID of the object. | ||
| version | long | element | 0/1 | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | ||
Properties inherited from baseEntity |
||||||
| violations | list of simpleViolation | element | 0/unbounded | A list of constraint violations, if any, that this object has. | ||
Example
<payment> <amount>...</amount> <currency>...</currency> <paymentCode>...</paymentCode> <creditCardType>...</creditCardType> <notes>...</notes> <lastDigits>...</lastDigits> <id>...</id> <version>...</version> <violations/> </payment>