DocumentPaymentDto

constructor(afterTax: BigDecimal? = null, cashBack: BigDecimal? = null, changeAdjustment: BigDecimal? = null, changeDue: BigDecimal? = null, changeIssued: BigDecimal? = null, currencyCode: CurrencyCodeEnum? = null, maskedCardNumber: String? = null, type: TenderTypesEnum? = null)

Parameters

afterTax

The amount paid with this payment.

cashBack

Cash back amount if applicable.

changeAdjustment

The difference between the changeDue and the changeIssued amounts.

changeDue

Change due amount for cash payments

changeIssued

Change amount that was actually issued (after rounding if any) for cash payments

currencyCode
maskedCardNumber

A masked version of the card (if any) used in the payment. Typically in the format **** NNNN for the last 4 digits of a credit card but MAY be different if other cards like gift cards are used.

type