Skip to main content

Record


Record

Properties

address

public string $address

batchId

public int $batchId

cashier

public int $cashier

cashierName

public string $cashierName

companyName

public string $companyName

copies

public int $copies

date

public string $date

orgNumber

public string $orgNumber

training

public bool $training

type

public \Onslip360\API\Record\Type $type

accounting

public array|null $accounting

batch

public \Onslip360\API\Batch|null $batch

cardTransaction

public \Onslip360\API\CardTransaction|null $cardTransaction

cashDrawer

public \Onslip360\API\CashDrawer|null $cashDrawer

client

public int|null $client

clientName

public string|null $clientName

controlCode

public string|null $controlCode

controlUnitId

public string|null $controlUnitId

copyFrom

public int|null $copyFrom

copyOf

public int|null $copyOf

created

public string|null $created

currency

public string|null $currency

deleted

public string|null $deleted

description

public string|null $description

email

public string|null $email

entertainmentBill

public \Onslip360\API\EntertainmentBill|null $entertainmentBill

external

public bool|null $external

id

public int|null $id

invalidPayload

public \Onslip360\API\InvalidPayload|null $invalidPayload

labels

public array|null $labels

locale

public string|null $locale

location

public int|null $location

orderTicket

public \Onslip360\API\OrderTicket|null $orderTicket

phoneNumber

public string|null $phoneNumber

product

public \Onslip360\API\ProductEntry|null $product

queued

public string|null $queued

receipt

public \Onslip360\API\Receipt|null $receipt

receiptFooter

public string|null $receiptFooter

receiptHeader

public string|null $receiptHeader

recipientUri

public string|null $recipientUri

report

public \Onslip360\API\Report|null $report

storeAddress

public string|null $storeAddress

storeName

public string|null $storeName

tab

public \Onslip360\API\Tab|null $tab

tags

public array|null $tags

timezoneOffset

public int|null $timezoneOffset

updated

public string|null $updated

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

usage

public \Onslip360\API\UsageEntry|null $usage

webAddress

public string|null $webAddress

Methods

__construct

public __construct(string $address, int $batchId, int $cashier, string $cashierName, string $companyName, int $copies, string $date, string $orgNumber, bool $training, \Onslip360\API\Record\Type $type, \Onslip360\API\AccountingEntry[]|null $accounting = null, \Onslip360\API\Batch|null $batch = null, \Onslip360\API\CardTransaction|null $cardTransaction = null, \Onslip360\API\CashDrawer|null $cashDrawer = null, int|null $client = null, string|null $clientName = null, string|null $controlCode = null, string|null $controlUnitId = null, int|null $copyFrom = null, int|null $copyOf = null, string|null $created = null, string|null $currency = null, string|null $deleted = null, string|null $description = null, string|null $email = null, \Onslip360\API\EntertainmentBill|null $entertainmentBill = null, bool|null $external = null, int|null $id = null, \Onslip360\API\InvalidPayload|null $invalidPayload = null, int[]|null $labels = null, string|null $locale = null, int|null $location = null, \Onslip360\API\OrderTicket|null $orderTicket = null, string|null $phoneNumber = null, \Onslip360\API\ProductEntry|null $product = null, string|null $queued = null, \Onslip360\API\Receipt|null $receipt = null, string|null $receiptFooter = null, string|null $receiptHeader = null, string|null $recipientUri = null, \Onslip360\API\Report|null $report = null, string|null $storeAddress = null, string|null $storeName = null, \Onslip360\API\Tab|null $tab = null, string[]|null $tags = null, int|null $timezoneOffset = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, \Onslip360\API\UsageEntry|null $usage = null, string|null $webAddress = null): mixed

Parameters:

ParameterTypeDescription
$addressstring
$batchIdint
$cashierint
$cashierNamestring
$companyNamestring
$copiesint
$datestring
$orgNumberstring
$trainingbool
$type\Onslip360\API\Record\Type
$accounting\Onslip360\API\AccountingEntry[]|null
$batch\Onslip360\API\Batch|null
$cardTransaction\Onslip360\API\CardTransaction|null
$cashDrawer\Onslip360\API\CashDrawer|null
$clientint|null
$clientNamestring|null
$controlCodestring|null
$controlUnitIdstring|null
$copyFromint|null
$copyOfint|null
$createdstring|null
$currencystring|null
$deletedstring|null
$descriptionstring|null
$emailstring|null
$entertainmentBill\Onslip360\API\EntertainmentBill|null
$externalbool|null
$idint|null
$invalidPayload\Onslip360\API\InvalidPayload|null
$labelsint[]|null
$localestring|null
$locationint|null
$orderTicket\Onslip360\API\OrderTicket|null
$phoneNumberstring|null
$product\Onslip360\API\ProductEntry|null
$queuedstring|null
$receipt\Onslip360\API\Receipt|null
$receiptFooterstring|null
$receiptHeaderstring|null
$recipientUristring|null
$report\Onslip360\API\Report|null
$storeAddressstring|null
$storeNamestring|null
$tab\Onslip360\API\Tab|null
$tagsstring[]|null
$timezoneOffsetint|null
$updatedstring|null
$updatedByint|null
$updatedFromint|null
$usage\Onslip360\API\UsageEntry|null
$webAddressstring|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