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