DocumentContentDto

fun DocumentContentDto(amountDue: DocumentTaxableAmountDto? = null, barcodes: List<DocumentContentBarcodeDto>? = null, countryCode: CountryCode? = null, currencyCode: CurrencyCodeEnum? = 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

amountDue
  • @param barcodes A list of barcodes available on the document.

countryCode
  • @param currencyCode * @param customer * @param discounts * @param 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
  • @param items * @param languageCode The language the original document is in.

merchant
  • @param savings Sum total of all savings found on the document.

deliveries
  • @param loyaltyRewards * @param 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
  • @param totalBeforeTips * @param totalBeforeDiscountsFeesTips