Skip to main content

Partial_ProductGroup


Partial_ProductGroup

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:

ParameterTypeDescription
$accountint|null|\Onslip360\Nil
$alertstring|null|\Onslip360\Nil
$deletedstring|null|\Onslip360\Nil
$discountAccountint|null|\Onslip360\Nil
$kitchenPrinter\Onslip360\API\Peripheral\PeripheralFunction|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$modifiersint[]|null|\Onslip360\Nil
$namestring|null
$secondaryKitchenPrinterMode\Onslip360\API\ProductGroup\SecondaryKitchenPrinterMode|null|\Onslip360\Nil
$secondaryKitchenPrinters\Onslip360\API\Peripheral\PeripheralFunction[]|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$type\Onslip360\API\ProductGroup\Type|null
$undiscountablebool|null|\Onslip360\Nil
$vatAccountint|null|\Onslip360\Nil
$vatRatefloat|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