Class CoreItem

Interface for a core item, which extends the IProductBase interface.

Hierarchy

Implements

Constructors

Properties

_timestamp: number
barcode: string = ''

The barcode of the item.

category_uid: string = ''

The unique identifier of the category that the item belongs to.

color: string = ''

color of the object

created_at: Date = ...
deleted_at: any = null
description: string

description of the object

description_translations: {} = {}

Translations of the description

Type declaration

    etc: {} = {}

    Type declaration

      icon: string = ''

      icon of the object

      id_in_server: number
      meta: {} = {}

      Type declaration

        name: string

        name of the object

        name_translations: any

        Translations of the name

        price: number = 0

        The price of the item.

        price_adjustable: boolean = false

        Whether or not the price of the item can be adjusted.

        print_on_receipt: boolean = true

        Whether or not the item should be printed on the receipt.

        sequence: number = 0
        sku: string = ''

        The SKU (stock keeping unit) of the item.

        stock: number = 0
        type: ProductType = ProductType.Modifier

        The type of product.

        uid: string = ...
        updated_at: Date = ...

        Generated using TypeDoc