Tender
Class Description
Tender is what is "offered" by the customer towards making a payment and is often more than the required payment (hence the need for 'change'). The payment is thus that part of the Tender that goes towards settlement of a particular transaction. Tender is modelled as an aggregation of Cheque and Card. Both these tender types can exist in a single tender bid thus 'accountHolderName' has to exist separately in each of Cheque and Card as each could have a different account holder name.
Attributes
Name | Type | Description |
---|---|---|
amount | Money | Amount tendered by customer. |
change | Money | Difference between amount tendered by customer and the amount charged by point of sale. |
kind | TenderKind | Kind of tender from customer. |
Relationships
Ancestors
Descendents
No descendent classes
Associations
Source Class | Source Cardinality | Target | Target Cardinality | Source Name | Source Assoc. Description | Target Name | Target Assoc. Description |
---|---|---|---|---|---|---|---|
Tender | 1..* | Receipt | 1 | Tenders | All payments received in the form of tenders recorded by this receipt. | Receipt | Receipt that recorded this receiving of a payment in the form of tenders. |
Tender | 1 | Cheque | 0..1 | Tender | Payment tender the cheque is being used for. | Cheque | Cheque used to tender payment. |
Tender | 1 | Card | 0..1 | Tender | Payment tender this card is being used for. | Card | Card used to tender payment. |