Skip to content

SudoSOS Back-end API / catalogue/products / ProductRevision

Class: ProductRevision ​

Extends ​

Constructors ​

Constructor ​

ts
new ProductRevision(): ProductRevision;

Returns ​

ProductRevision

Inherited from ​

BaseEntityWithoutId.constructor

Properties ​

PropertyModifierTypeDescriptionInherited from
alcoholPercentagepublicnumber--
categorypublicProductCategory--
containerspublicContainerRevision[]--
createdAtreadonlyDateThe creation date of the object.BaseEntityWithoutId.createdAt
featuredpublicbooleanIf product should be highlighted in POS.-
namepublicstring--
preferredpublicbooleanIf product should be on top in POS.-
priceInclVatpublicDinero--
priceListpublicbooleanIf shown of narrowcasting screens.-
productreadonlyProduct--
productIdreadonlynumber--
revisionpublicnumber--
updatedAtreadonlyDateThe last update date of the object.BaseEntityWithoutId.updatedAt
vatpublicVatGroup--
versionreadonlynumberThe current version of the object.BaseEntityWithoutId.version

Methods ​

denyUpdate() ​

ts
denyUpdate(): void;

Returns ​

void