TillState
TillState
- Full name:
\Onslip360\API\TillState
- Parent class:
\Onslip360\Onslip360Object
Properties
batchIsOpen
public bool $batchIsOpen
currentBatchId
public int $currentBatchId
grandTotalAmount
public \Onslip360\API\Summary $grandTotalAmount
grandTotalReturns
public \Onslip360\API\Summary $grandTotalReturns
grandTotalSales
public \Onslip360\API\Summary $grandTotalSales
normalReceiptCounter
public int $normalReceiptCounter
profoReceiptCounter
public int $profoReceiptCounter
trainingReceiptCounter
public int $trainingReceiptCounter
xReportCounter
public int $xReportCounter
zReportCounter
public int $zReportCounter
created
public string|null $created
deleted
public string|null $deleted
id
public int|null $id
labels
public array|null $labels
tags
public array|null $tags
updated
public string|null $updated
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
zReportPending
public bool|null $zReportPending
Methods
__construct
public __construct(bool $batchIsOpen, int $currentBatchId, \Onslip360\API\Summary $grandTotalAmount, \Onslip360\API\Summary $grandTotalReturns, \Onslip360\API\Summary $grandTotalSales, int $normalReceiptCounter, int $profoReceiptCounter, int $trainingReceiptCounter, int $xReportCounter, int $zReportCounter, string|null $created = null, string|null $deleted = null, int|null $id = null, int[]|null $labels = null, string[]|null $tags = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, bool|null $zReportPending = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$batchIsOpen | bool | |
$currentBatchId | int | |
$grandTotalAmount | \Onslip360\API\Summary | |
$grandTotalReturns | \Onslip360\API\Summary | |
$grandTotalSales | \Onslip360\API\Summary | |
$normalReceiptCounter | int | |
$profoReceiptCounter | int | |
$trainingReceiptCounter | int | |
$xReportCounter | int | |
$zReportCounter | int | |
$created | string|null | |
$deleted | string|null | |
$id | int|null | |
$labels | int[]|null | |
$tags | string[]|null | |
$updated | string|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$zReportPending | bool|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05