DocumentPaymentDto
data class DocumentPaymentDto(afterTax: BigDecimal?, cashBack: BigDecimal?, changeAdjustment: BigDecimal?, changeDue: BigDecimal?, changeIssued: BigDecimal?, currencyCode: CurrencyCodeEnum?, maskedCardNumber: String?, type: TenderTypesEnum?)
Content copied to clipboard
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
@param 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
DocumentPaymentDto
Link copied to clipboard
fun DocumentPaymentDto(afterTax: BigDecimal? = null, cashBack: BigDecimal? = null, changeAdjustment: BigDecimal? = null, changeDue: BigDecimal? = null, changeIssued: BigDecimal? = null, currencyCode: CurrencyCodeEnum? = null, maskedCardNumber: String? = null, type: TenderTypesEnum? = null)
Content copied to clipboard
The amount paid with this payment.
Properties
afterTax
Link copied to clipboard
cashBack
Link copied to clipboard
changeAdjustment
Link copied to clipboard
@SerializedName(value = changeAdjustment)
Content copied to clipboard
changeDue
Link copied to clipboard
changeIssued
Link copied to clipboard
@SerializedName(value = changeIssued)
Content copied to clipboard
currencyCode
Link copied to clipboard
@SerializedName(value = currencyCode)
Content copied to clipboard
maskedCardNumber
Link copied to clipboard
@SerializedName(value = maskedCardNumber)
Content copied to clipboard
type
Link copied to clipboard