Partial_ProductGroup
Partial_ProductGroup
- Full name:
\Onslip360\API\Partial_ProductGroup
- Parent class:
\Onslip360\Onslip360Object
Properties
account
public int|null|\Onslip360\Nil $account
alert
public string|null|\Onslip360\Nil $alert
deleted
public string|null|\Onslip360\Nil $deleted
discountAccount
public int|null|\Onslip360\Nil $discountAccount
kitchenPrinter
public \Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil $kitchenPrinter
labels
public array|null|\Onslip360\Nil $labels
modifiers
public array|null|\Onslip360\Nil $modifiers
name
public string|null $name
secondaryKitchenPrinterMode
public \Onslip360\API\ProductGroup\SecondaryKitchenPrinterMode|null|\Onslip360\Nil $secondaryKitchenPrinterMode
secondaryKitchenPrinters
public array|null|\Onslip360\Nil $secondaryKitchenPrinters
tags
public array|null|\Onslip360\Nil $tags
type
public \Onslip360\API\ProductGroup\Type|null $type
undiscountable
public bool|null|\Onslip360\Nil $undiscountable
vatAccount
public int|null|\Onslip360\Nil $vatAccount
vatRate
public float|null $vatRate
Methods
__construct
public __construct(int|null|\Onslip360\Nil $account = null, string|null|\Onslip360\Nil $alert = null, string|null|\Onslip360\Nil $deleted = null, int|null|\Onslip360\Nil $discountAccount = null, \Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil $kitchenPrinter = null, int[]|null|\Onslip360\Nil $labels = null, int[]|null|\Onslip360\Nil $modifiers = null, string|null $name = null, \Onslip360\API\ProductGroup\SecondaryKitchenPrinterMode|null|\Onslip360\Nil $secondaryKitchenPrinterMode = null, \Onslip360\API\Peripheral\PeripheralFunction[]|null|\Onslip360\Nil $secondaryKitchenPrinters = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\ProductGroup\Type|null $type = null, bool|null|\Onslip360\Nil $undiscountable = null, int|null|\Onslip360\Nil $vatAccount = null, float|null $vatRate = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$account | int|null|\Onslip360\Nil | |
$alert | string|null|\Onslip360\Nil | |
$deleted | string|null|\Onslip360\Nil | |
$discountAccount | int|null|\Onslip360\Nil | |
$kitchenPrinter | \Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$modifiers | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$secondaryKitchenPrinterMode | \Onslip360\API\ProductGroup\SecondaryKitchenPrinterMode|null|\Onslip360\Nil | |
$secondaryKitchenPrinters | \Onslip360\API\Peripheral\PeripheralFunction[]|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$type | \Onslip360\API\ProductGroup\Type|null | |
$undiscountable | bool|null|\Onslip360\Nil | |
$vatAccount | int|null|\Onslip360\Nil | |
$vatRate | float|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