Location
Location
- Full name:
\Onslip360\API\Location
- Parent class:
\Onslip360\Onslip360Object
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
customerScreenLogo
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
receiptLogo
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:
Parameter | Type | Description |
---|---|---|
$name | string | |
$accountConfig | \Onslip360\API\AccountConfig|null | |
$address | string|null | |
$companyName | string|null | |
$config | \Onslip360\API\LocationConfig|null | |
$created | string|null | |
$customerScreenLogo | \Onslip360\API\File|null | |
$deleted | string|null | |
$email | string|null | |
$id | int|null | |
$labels | int[]|null | |
$phoneNumber | string|null | |
$receiptFooter | string|null | |
$receiptHeader | string|null | |
$receiptLogo | \Onslip360\API\File|null | |
$receiptLogoGray | string|null | |
$receiptLogoMono | string|null | |
$tags | string[]|null | |
$takeOutConfig | \Onslip360\API\TakeOutConfig|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