# PaymentAmounts

data class PaymentAmounts(val currency: String, val amount: BigDecimal, val tipAmount: BigDecimal? = null, val cashbackAmount: BigDecimal? = null, val paidAmount: BigDecimal? = null)

Utility class for transaction amounts specification

## Constructors

PaymentAmounts
Link copied to clipboard
constructor(currency: String, amount: BigDecimal, tipAmount: BigDecimal? = null, cashbackAmount: BigDecimal? = null, paidAmount: BigDecimal? = null)

## Properties

amount
Link copied to clipboard
val amount: BigDecimal

Amount requested by the Sale for the payment.

cashbackAmount
Link copied to clipboard
val cashbackAmount: BigDecimal? = null

The cash-back part of the amount requested by the Sale for the payment

currency
Link copied to clipboard
val currency: String

Currency of a monetary amount.

paidAmount
Link copied to clipboard
val paidAmount: BigDecimal? = null

Amount already paid amount in case of split payment.

tipAmount
Link copied to clipboard
val tipAmount: BigDecimal? = null

Amount paid for a tip.