totalAmountTendered property
Decimal
get
totalAmountTendered
Total amount tendered across all payment legs.
Equals amountPaid plus totalCashSurplus. For cash legs this reflects the physical notes/coins handed over; for card/other legs it equals the charged amount. Useful for reconciliation displays where cashiers need to tally what was actually received.
Implementation
Decimal get totalAmountTendered => amountPaid + totalCashSurplus;