Skip to main content

Location


Location

Properties

name

public string $name

accountConfig

public \Onslip360\API\AccountConfig|null $accountConfig

address

public string|null $address

companyName

public string|null $companyName

config

public \Onslip360\API\LocationConfig|null $config

created

public string|null $created

public \Onslip360\API\File|null $customerScreenLogo

deleted

public string|null $deleted

email

public string|null $email

id

public int|null $id

labels

public array|null $labels

phoneNumber

public string|null $phoneNumber

receiptFooter

public string|null $receiptFooter

receiptHeader

public string|null $receiptHeader

public \Onslip360\API\File|null $receiptLogo

receiptLogoGray

public string|null $receiptLogoGray

receiptLogoMono

public string|null $receiptLogoMono

tags

public array|null $tags

takeOutConfig

public \Onslip360\API\TakeOutConfig|null $takeOutConfig

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 $name, \Onslip360\API\AccountConfig|null $accountConfig = null, string|null $address = null, string|null $companyName = null, \Onslip360\API\LocationConfig|null $config = null, string|null $created = null, \Onslip360\API\File|null $customerScreenLogo = null, string|null $deleted = null, string|null $email = null, int|null $id = null, int[]|null $labels = null, string|null $phoneNumber = null, string|null $receiptFooter = null, string|null $receiptHeader = null, \Onslip360\API\File|null $receiptLogo = null, string|null $receiptLogoGray = null, string|null $receiptLogoMono = null, string[]|null $tags = null, \Onslip360\API\TakeOutConfig|null $takeOutConfig = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, string|null $webAddress = null): mixed

Parameters:

ParameterTypeDescription
$namestring
$accountConfig\Onslip360\API\AccountConfig|null
$addressstring|null
$companyNamestring|null
$config\Onslip360\API\LocationConfig|null
$createdstring|null
$customerScreenLogo\Onslip360\API\File|null
$deletedstring|null
$emailstring|null
$idint|null
$labelsint[]|null
$phoneNumberstring|null
$receiptFooterstring|null
$receiptHeaderstring|null
$receiptLogo\Onslip360\API\File|null
$receiptLogoGraystring|null
$receiptLogoMonostring|null
$tagsstring[]|null
$takeOutConfig\Onslip360\API\TakeOutConfig|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