Transaction Amounts
class TransactionAmounts(totalAmount: Long = 0, cashBackAmount: Long = 0, vatAmount: Long = 0, cashAdvanceChargeAmount: Long = 0, tipAmount: Long = 0)
The TransactionAmounts class contains different type of amounts used in a transaction. The main use case for this class is when update of the transaction amount is needed for a pending transaction.
Constructors
Functions
Link copied to clipboard
Get cash advance charge amount.
Link copied to clipboard
Get the cash back amount.
Link copied to clipboard
Link copied to clipboard
Get the total amount.
Link copied to clipboard
Get the VAT amount.
Link copied to clipboard
Set the cash advance charge amount.
Link copied to clipboard
Set the cash back amount.
Link copied to clipboard
Link copied to clipboard
Set the total amount.
Link copied to clipboard
Set the VAT amount.