DocumentContentDto

constructor(currencyCode: CurrencyCodeEnum?, amountDue: DocumentTaxableAmountDto? = null, barcodes: List<DocumentContentBarcodeDto>? = null, countryCode: CountryCode? = null, customer: DocumentContentCustomerDto? = null, discounts: List<DocumentDiscountDto>? = null, documentNumber: String? = null, dueDate: LocalDate? = null, documentDate: LocalDate? = null, documentTime: String? = null, fees: List<DocumentFeeDto>? = null, items: List<DocumentItemDto>? = null, languageCode: String? = null, merchant: DocumentMerchantDto? = null, savings: BigDecimal? = null, deliveries: List<DeliveryDto>? = null, loyaltyRewards: DocumentLoyaltyRewardsDto? = null, payments: List<DocumentPaymentDto>? = null, tipAmount: BigDecimal? = null, total: DocumentTaxableAmountDto? = null, totalBeforeTips: DocumentTaxableAmountDto? = null, totalBeforeDiscountsFeesTips: DocumentTaxableAmountDto? = null)

Parameters

currencyCode
amountDue
barcodes

A list of barcodes available on the document.

countryCode
customer
discounts
documentNumber

The document number that appears on the document. For example this can be invoice number.

dueDate

The date on which the amountDue should be paid. Date is in ISO-8601 format.

documentDate

The date on which this document was generated. This is only the date component of the local time at which the purchase was made, with no explicit timezone information. see: 'documentEmissionTime'. Date is in ISO-8601 format.

documentTime

The time at which this document was generated. This is only the time component of the local time at which the purchase was made, with no explicit timezone information.

fees
items
languageCode

The language the original document is in.

merchant
savings

Sum total of all savings found on the document.

deliveries
loyaltyRewards
payments

The payments made on this document. This will be an array with the different payments made towards this document.

tipAmount

The tip (gratuity) amount on the document.

total
totalBeforeTips
totalBeforeDiscountsFeesTips