SudoSOS Back-end API / catalogue/point-of-sale / PointOfSale
Class: PointOfSale ​
Extends ​
Constructors ​
Constructor ​
ts
new PointOfSale(): PointOfSale;Returns ​
PointOfSale
Inherited from ​
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
cashierRoles | public | Role[] | Every user that belongs to at least one of such cashier roles can create transactions in this POS, if the POS does not require authentication. In contrary to owners, cashiers should not be able to open this POS or make changes to it. Note that owners are always able to create transactions. | - |
createdAt | readonly | Date | The creation date of the object. | BaseEntity.createdAt |
currentRevision | public | number | The current revision of the pointOfSale. Can be null if no revision exists. | - |
deletedAt | readonly | Date | - | - |
id | readonly | number | - | BaseEntity.id |
owner | public | User | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntity.updatedAt |
user | public | User | - | - |
version | readonly | number | The current version of the object. | BaseEntity.version |