EditDocumentRequestDtoContent

data class EditDocumentRequestDtoContent(val merchant: EditDocumentMerchantDto? = null, val documentNumber: String? = null, val dueDate: LocalDate? = null, val documentDate: LocalDate? = null, val documentTime: String? = null, val amountDue: EditDocumentTaxableAmountDto? = null, val tipAmount: BigDecimal? = null, val totalBeforeDiscountsFeesTips: EditDocumentTaxableAmountDto? = null, val total: EditDocumentTaxableAmountDto? = null, val currencyCode: CurrencyCodeEnum? = null)

Parameters

merchant
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.

amountDue
tipAmount

The total tips associated to this document. Pass null to unset.

totalBeforeDiscountsFeesTips
total
currencyCode

Constructors

Link copied to clipboard
constructor(merchant: EditDocumentMerchantDto? = null, documentNumber: String? = null, dueDate: LocalDate? = null, documentDate: LocalDate? = null, documentTime: String? = null, amountDue: EditDocumentTaxableAmountDto? = null, tipAmount: BigDecimal? = null, totalBeforeDiscountsFeesTips: EditDocumentTaxableAmountDto? = null, total: EditDocumentTaxableAmountDto? = null, currencyCode: CurrencyCodeEnum? = null)

Properties

Link copied to clipboard
@SerializedName(value = "amountDue")
val amountDue: EditDocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "currencyCode")
val currencyCode: CurrencyCodeEnum? = null
Link copied to clipboard
@SerializedName(value = "documentDate")
val documentDate: LocalDate? = null
Link copied to clipboard
@SerializedName(value = "documentNumber")
val documentNumber: String? = null
Link copied to clipboard
@SerializedName(value = "documentTime")
val documentTime: String? = null
Link copied to clipboard
@SerializedName(value = "dueDate")
val dueDate: LocalDate? = null
Link copied to clipboard
@SerializedName(value = "merchant")
val merchant: EditDocumentMerchantDto? = null
Link copied to clipboard
@SerializedName(value = "tipAmount")
val tipAmount: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "total")
val total: EditDocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "totalBeforeDiscountsFeesTips")
val totalBeforeDiscountsFeesTips: EditDocumentTaxableAmountDto? = null