DocumentDiscountDtoAllOf

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

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
  • @param taxes

Constructors

DocumentDiscountDtoAllOf
Link copied to clipboard
fun DocumentDiscountDtoAllOf(description: String? = null, methodCode: String? = null, percent: BigDecimal? = null, type: DiscountTypesEnum? = null, taxes: List<DocumentTaxDto>? = null)
A user-presentable description of this discount.

Properties

description
Link copied to clipboard
@SerializedName(value = description)
val description: String? = null
A user-presentable description of this discount.
methodCode
Link copied to clipboard
@SerializedName(value = methodCode)
val methodCode: String? = null
A code used by the merchant to identify this discount
percent
Link copied to clipboard
@SerializedName(value = percent)
val percent: BigDecimal? = null
May be set if this discount is percent based, where a value of N represents an N% discount.
taxes
Link copied to clipboard
@SerializedName(value = taxes)
val taxes: List<DocumentTaxDto>? = null
type
Link copied to clipboard
@SerializedName(value = type)
val type: DiscountTypesEnum? = null
  • @param taxes