Skip to main content

DigitalReceipt


DigitalReceipt

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:

ParameterTypeDescription
$addressstring
$cashierint
$cashierNamestring
$clientint
$clientNamestring
$companyNamestring
$datestring
$orgNumberstring
$receipt\Onslip360\API\Receipt
$recipientUristring
$companyint|null
$controlCodestring|null
$controlUnitIdstring|null
$createdstring|null
$currencystring|null
$deletedstring|null
$descriptionstring|null
$emailstring|null
$externalbool|null
$idint|null
$isCopybool|null
$localestring|null
$locationint|null
$phoneNumberstring|null
$receiptFooterstring|null
$receiptHeaderstring|null
$status\Onslip360\API\DigitalReceipt\Status|null
$storeAddressstring|null
$storeNamestring|null
$tagsstring[]|null
$timezoneOffsetint|null
$type\Onslip360\API\DigitalReceipt\Type|null
$updatedstring|null
$updatedByint|null
$updatedFromint|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