Record
Record
- Full name:
\Onslip360\API\Record
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$address | string | |
$batchId | int | |
$cashier | int | |
$cashierName | string | |
$companyName | string | |
$copies | int | |
$date | string | |
$orgNumber | string | |
$training | bool | |
$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 | |
$client | int|null | |
$clientName | string|null | |
$controlCode | string|null | |
$controlUnitId | string|null | |
$copyFrom | int|null | |
$copyOf | int|null | |
$created | string|null | |
$currency | string|null | |
$deleted | string|null | |
$description | string|null | |
$email | string|null | |
$entertainmentBill | \Onslip360\API\EntertainmentBill|null | |
$external | bool|null | |
$id | int|null | |
$invalidPayload | \Onslip360\API\InvalidPayload|null | |
$labels | int[]|null | |
$locale | string|null | |
$location | int|null | |
$orderTicket | \Onslip360\API\OrderTicket|null | |
$phoneNumber | string|null | |
$product | \Onslip360\API\ProductEntry|null | |
$queued | string|null | |
$receipt | \Onslip360\API\Receipt|null | |
$receiptFooter | string|null | |
$receiptHeader | string|null | |
$recipientUri | string|null | |
$report | \Onslip360\API\Report|null | |
$storeAddress | string|null | |
$storeName | string|null | |
$tab | \Onslip360\API\Tab|null | |
$tags | string[]|null | |
$timezoneOffset | int|null | |
$updated | string|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$usage | \Onslip360\API\UsageEntry|null | |
$webAddress | string|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