ExternalRecord
ExternalRecord
- Full name:
\Onslip360\API\ExternalRecord
- Parent class:
\Onslip360\Onslip360Object
Properties
date
public string $date
type
public \Onslip360\API\Record\Type $type
batch
public \Onslip360\API\ExternalBatch|null $batch
cashier
public int|null $cashier
cashierName
public string|null $cashierName
clientName
public string|null $clientName
controlCode
public string|null $controlCode
controlUnitId
public string|null $controlUnitId
description
public string|null $description
labels
public array|null $labels
receipt
public \Onslip360\API\ExternalReceipt|null $receipt
recipientUri
public string|null $recipientUri
report
public \Onslip360\API\ExternalReport|null $report
timezoneOffset
public int|null $timezoneOffset
Methods
__construct
public __construct(string $date, \Onslip360\API\Record\Type $type, \Onslip360\API\ExternalBatch|null $batch = null, int|null $cashier = null, string|null $cashierName = null, string|null $clientName = null, string|null $controlCode = null, string|null $controlUnitId = null, string|null $description = null, int[]|null $labels = null, \Onslip360\API\ExternalReceipt|null $receipt = null, string|null $recipientUri = null, \Onslip360\API\ExternalReport|null $report = null, int|null $timezoneOffset = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$date | string | |
$type | \Onslip360\API\Record\Type | |
$batch | \Onslip360\API\ExternalBatch|null | |
$cashier | int|null | |
$cashierName | string|null | |
$clientName | string|null | |
$controlCode | string|null | |
$controlUnitId | string|null | |
$description | string|null | |
$labels | int[]|null | |
$receipt | \Onslip360\API\ExternalReceipt|null | |
$recipientUri | string|null | |
$report | \Onslip360\API\ExternalReport|null | |
$timezoneOffset | int|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