Skip to main content

ExternalRecord


ExternalRecord

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:

ParameterTypeDescription
$datestring
$type\Onslip360\API\Record\Type
$batch\Onslip360\API\ExternalBatch|null
$cashierint|null
$cashierNamestring|null
$clientNamestring|null
$controlCodestring|null
$controlUnitIdstring|null
$descriptionstring|null
$labelsint[]|null
$receipt\Onslip360\API\ExternalReceipt|null
$recipientUristring|null
$report\Onslip360\API\ExternalReport|null
$timezoneOffsetint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05