DigitalReceipt
DigitalReceipt
- Full name:
\Onslip360\API\DigitalReceipt
- Parent class:
\Onslip360\Onslip360Object
Properties
address
public string $address
cashier
public int $cashier
cashierName
public string $cashierName
client
public int $client
clientName
public string $clientName
companyName
public string $companyName
date
public string $date
orgNumber
public string $orgNumber
receipt
public \Onslip360\API\Receipt $receipt
recipientUri
public string $recipientUri
company
public int|null $company
controlCode
public string|null $controlCode
controlUnitId
public string|null $controlUnitId
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
external
public bool|null $external
id
public int|null $id
isCopy
public bool|null $isCopy
locale
public string|null $locale
location
public int|null $location
phoneNumber
public string|null $phoneNumber
receiptFooter
public string|null $receiptFooter
receiptHeader
public string|null $receiptHeader
status
public \Onslip360\API\DigitalReceipt\Status|null $status
storeAddress
public string|null $storeAddress
storeName
public string|null $storeName
tags
public array|null $tags
timezoneOffset
public int|null $timezoneOffset
type
public \Onslip360\API\DigitalReceipt\Type|null $type
updated
public string|null $updated
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
webAddress
public string|null $webAddress
Methods
__construct
public __construct(string $address, int $cashier, string $cashierName, int $client, string $clientName, string $companyName, string $date, string $orgNumber, \Onslip360\API\Receipt $receipt, string $recipientUri, int|null $company = null, string|null $controlCode = null, string|null $controlUnitId = null, string|null $created = null, string|null $currency = null, string|null $deleted = null, string|null $description = null, string|null $email = null, bool|null $external = null, int|null $id = null, bool|null $isCopy = null, string|null $locale = null, int|null $location = null, string|null $phoneNumber = null, string|null $receiptFooter = null, string|null $receiptHeader = null, \Onslip360\API\DigitalReceipt\Status|null $status = null, string|null $storeAddress = null, string|null $storeName = null, string[]|null $tags = null, int|null $timezoneOffset = null, \Onslip360\API\DigitalReceipt\Type|null $type = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, string|null $webAddress = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string | |
$cashier | int | |
$cashierName | string | |
$client | int | |
$clientName | string | |
$companyName | string | |
$date | string | |
$orgNumber | string | |
$receipt | \Onslip360\API\Receipt | |
$recipientUri | string | |
$company | int|null | |
$controlCode | string|null | |
$controlUnitId | string|null | |
$created | string|null | |
$currency | string|null | |
$deleted | string|null | |
$description | string|null | |
$email | string|null | |
$external | bool|null | |
$id | int|null | |
$isCopy | bool|null | |
$locale | string|null | |
$location | int|null | |
$phoneNumber | string|null | |
$receiptFooter | string|null | |
$receiptHeader | string|null | |
$status | \Onslip360\API\DigitalReceipt\Status|null | |
$storeAddress | string|null | |
$storeName | string|null | |
$tags | string[]|null | |
$timezoneOffset | int|null | |
$type | \Onslip360\API\DigitalReceipt\Type|null | |
$updated | string|null | |
$updatedBy | int|null | |
$updatedFrom | int|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