Skip to main content

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​

NameTypeDescription
amountMoneyAmount tendered by customer.
changeMoneyDifference between amount tendered by customer and the amount charged by point of sale.
kindTenderKindKind of tender from customer.

Relationships​

Ancestors​

Descendents​

No descendent classes

Associations​

Source ClassSource CardinalityTargetTarget CardinalitySource NameSource Assoc. DescriptionTarget NameTarget Assoc. Description
Tender1..*Receipt1TendersAll payments received in the form of tenders recorded by this receipt.ReceiptReceipt that recorded this receiving of a payment in the form of tenders.
Tender1Cheque0..1TenderPayment tender the cheque is being used for.ChequeCheque used to tender payment.
Tender1Card0..1TenderPayment tender this card is being used for.CardCard used to tender payment.