apidocs / com.srv4pos.server.api.sale / SaleProductInfo

SaleProductInfo

class SaleProductInfo : Info

User: Pavel Abizyaev, Date: 04.09.2014 17:47.

Constructors

<init>

SaleProductInfo()

User: Pavel Abizyaev, Date: 04.09.2014 17:47.

Properties

absoluteDiscount

var absoluteDiscount: Long

Absolute discount.

brutto

var brutto: Long

Sale product price with tax.

created

var created: Date?

Created date.

delta

var delta: Long

The amount of products.

discount

var discount: Long

Sale product discount.

effectiveBrutto

var effectiveBrutto: Long

Sum of brutto of all products with sale discount.

isDeltaUnit

var isDeltaUnit: Boolean

netto

var netto: Long

Sale product price without tax.

productBrutto

var productBrutto: Long

Brutto of product unit.

productIdentifier

lateinit var productIdentifier: String

Product identifier.

productName

var productName: String?

relativeDiscount

var relativeDiscount: Int

Relative discount.

vanillaBrutto

var vanillaBrutto: Long

Sum of brutto of all products.

vat

var vat: Long

Value-added tax.

vatRate

var vatRate: Long

VAT rate of product.

Extension Functions

toJson

fun Info.toJson(): String