DocumentDiscountDto
data class DocumentDiscountDto(val taxes: List<DocumentTaxDto>? = null, val beforeTax: BigDecimal? = null, val afterTax: BigDecimal? = null, val description: String? = null, val methodCode: String? = null, val percent: BigDecimal? = null, val type: DiscountTypesEnum? = null)
Contains info about one applied discount.
Parameters
taxes
beforeTax
afterTax
description
A user-presentable description of this discount.
methodCode
A code used by the merchant to identify this discount
percent
May be set if this discount is percent based, where a value of N represents an N% discount.
type
Constructors
Link copied to clipboard
constructor(taxes: List<DocumentTaxDto>? = null, beforeTax: BigDecimal? = null, afterTax: BigDecimal? = null, description: String? = null, methodCode: String? = null, percent: BigDecimal? = null, type: DiscountTypesEnum? = null)