DocumentPaymentDto

data class DocumentPaymentDto(afterTax: BigDecimal?, cashBack: BigDecimal?, changeAdjustment: BigDecimal?, changeDue: BigDecimal?, changeIssued: BigDecimal?, currencyCode: CurrencyCodeEnum?, maskedCardNumber: String?, type: TenderTypesEnum?)

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)
The amount paid with this payment.

Properties

afterTax
Link copied to clipboard
@SerializedName(value = afterTax)
val afterTax: BigDecimal? = null
The amount paid with this payment.
cashBack
Link copied to clipboard
@SerializedName(value = cashBack)
val cashBack: BigDecimal? = null
Cash back amount if applicable.
changeAdjustment
Link copied to clipboard
@SerializedName(value = changeAdjustment)
val changeAdjustment: BigDecimal? = null
The difference between the changeDue and the changeIssued amounts.
changeDue
Link copied to clipboard
@SerializedName(value = changeDue)
val changeDue: BigDecimal? = null
Change due amount for cash payments
changeIssued
Link copied to clipboard
@SerializedName(value = changeIssued)
val changeIssued: BigDecimal? = null
Change amount that was actually issued (after rounding if any) for cash payments
currencyCode
Link copied to clipboard
@SerializedName(value = currencyCode)
val currencyCode: CurrencyCodeEnum? = null
  • @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.

maskedCardNumber
Link copied to clipboard
@SerializedName(value = maskedCardNumber)
val maskedCardNumber: String? = null
type
Link copied to clipboard
@SerializedName(value = type)
val type: TenderTypesEnum? = null