DocumentDiscountDtoAllOf

data class DocumentDiscountDtoAllOf(val description: String? = null, val methodCode: String? = null, val percent: BigDecimal? = null, val type: DiscountTypesEnum? = null, val taxes: List<DocumentTaxDto>? = null)

Parameters

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
taxes

Constructors

Link copied to clipboard
constructor(description: String? = null, methodCode: String? = null, percent: BigDecimal? = null, type: DiscountTypesEnum? = null, taxes: List<DocumentTaxDto>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "description")
val description: String? = null
Link copied to clipboard
@SerializedName(value = "methodCode")
val methodCode: String? = null
Link copied to clipboard
@SerializedName(value = "percent")
val percent: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "taxes")
val taxes: List<DocumentTaxDto>? = null
Link copied to clipboard
@SerializedName(value = "type")
val type: DiscountTypesEnum? = null