apidocs / com.srv4pos.server.api.posplus / KdInfo

KdInfo

open class KdInfo : Info

Represents information about pos plus control unit.

User: Kirill, Date: 22.02.14 12:15

Constructors

<init>

KdInfo()

Represents information about pos plus control unit.

Properties

brutto

var brutto: Long

date

lateinit var date: Date

isRefund

var isRefund: Boolean

printType

lateinit var printType: PrintType

receiptNumber

var receiptNumber: Int

Autoincrement receipt number within one POS terminal.

vatRateToSum

lateinit var vatRateToSum: Map<Int, Long>

The key - tax value. The value - the sum. E.g. 20.12 SEK splitted between 12.05 SEK for VAT 6% and 10.07 SEK for VAT 12% will do {'6': 1205, '12': 1007}

Extension Functions

toJson

fun Info.toJson(): String

Inheritors

SVKdInfo

class SVKdInfo : KdInfo

Created by misha on 1/16/18.