DocumentPaymentDto

data class DocumentPaymentDto(val afterTax: BigDecimal? = null, val cashBack: BigDecimal? = null, val changeAdjustment: BigDecimal? = null, val changeDue: BigDecimal? = null, val changeIssued: BigDecimal? = null, val currencyCode: CurrencyCodeEnum? = null, val maskedCardNumber: String? = null, val 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

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
@SerializedName(value = "afterTax")
val afterTax: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "cashBack")
val cashBack: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "changeAdjustment")
val changeAdjustment: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "changeDue")
val changeDue: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "changeIssued")
val changeIssued: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "currencyCode")
val currencyCode: CurrencyCodeEnum? = null
Link copied to clipboard
@SerializedName(value = "maskedCardNumber")
val maskedCardNumber: String? = null
Link copied to clipboard
@SerializedName(value = "type")
val type: TenderTypesEnum? = null