SudoSOS Back-end API / catalogue/products / ProductRevision
Class: ProductRevision ​
Extends ​
Constructors ​
Constructor ​
ts
new ProductRevision(): ProductRevision;Returns ​
ProductRevision
Inherited from ​
BaseEntityWithoutId.constructor
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
alcoholPercentage | public | number | - | - |
category | public | ProductCategory | - | - |
containers | public | ContainerRevision[] | - | - |
createdAt | readonly | Date | The creation date of the object. | BaseEntityWithoutId.createdAt |
featured | public | boolean | If product should be highlighted in POS. | - |
name | public | string | - | - |
preferred | public | boolean | If product should be on top in POS. | - |
priceInclVat | public | Dinero | - | - |
priceList | public | boolean | If shown of narrowcasting screens. | - |
product | readonly | Product | - | - |
productId | readonly | number | - | - |
revision | public | number | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntityWithoutId.updatedAt |
vat | public | VatGroup | - | - |
version | readonly | number | The current version of the object. | BaseEntityWithoutId.version |
Methods ​
denyUpdate() ​
ts
denyUpdate(): void;Returns ​
void