ItemType
Available item types.
enum ItemType {
STOCK
MODEL
SERVICE
DEPOSIT
SERIALIZED
REPAYMENT
}
Values
ItemType.STOCK
Normal Item to be sold in a POS.
ItemType.MODEL
A parent Item for variants. Not sellable, but primary response when searching for variant items.
ItemType.SERVICE
Items that are not physical but a service provided to the customer.
ItemType.DEPOSIT
An item that has it sole purpose of identifying a deposit receipt when scanned in the POS. This item will have a unique barcode identifier that allows a negative price within the barcode.
ItemType.SERIALIZED
One-off items with a serialized generated code. Gift cards and prepaid phone cards, etc.
ItemType.REPAYMENT
REPAYMENT items are dedicated to negatively priced use-cases like parking ticket repayment, lottery winning payouts, etc. The item must have a price associated with it to be distributed to the POS application. The price can have a fixed value or a fixed value of 0.01 and defined min and max values. In either case the POS is responsible for making sure the price is determined as a negative one.
Member Of
CompleteItem
object