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