PosRequest

data class PosRequest(val copies: Int, val taxationSystem: Int, val items: List<FiscalNode>, val amount: String, val cashier: CashierData?, val customer: CustomerData?) : Parcelable

Data class representing a fiscalized purchase or cancel request.

See also

Constructors

Link copied to clipboard
constructor(copies: Int, taxationSystem: Int, items: List<FiscalNode>, amount: String, cashier: CashierData?, customer: CustomerData?)

Properties

Link copied to clipboard
val amount: String

The operation amount as a decimal string. Without a decimal point the value is in minor units; with a decimal point the value is in major units.

Link copied to clipboard

The cashier to print on the receipt (name, TIN); null omits cashier details.

Link copied to clipboard
val copies: Int

The number of receipt copies to print.

Link copied to clipboard

The customer contacts for the electronic receipt (email, phone); null omits them.

Link copied to clipboard
val items: List<FiscalNode>

The list of the receipt line items.

Link copied to clipboard

The taxation system. 0 - general, 1 - simplified income, 2 - simplified income minus expense, 4 - single tax on agricultural, 5 - patent.