Skip to main content

Partial_ProductModifier


Partial_ProductModifier

Properties

automatic

public bool|null $automatic

deleted

public string|null|\Onslip360\Nil $deleted

labelValues

public array|null|\Onslip360\Nil $labelValues

labels

public array|null|\Onslip360\Nil $labels

name

public string|null $name

products

public array|null|\Onslip360\Nil $products

required

public bool|null|\Onslip360\Nil $required

tags

public array|null|\Onslip360\Nil $tags

title

public \Onslip360\API\ProductModifier\Title|null|\Onslip360\Nil $title

type

public \Onslip360\API\ProductModifier\Type|null $type

values

public array|null|\Onslip360\Nil $values

Methods

__construct

public __construct(bool|null $automatic = null, string|null|\Onslip360\Nil $deleted = null, int[]|null|\Onslip360\Nil $labelValues = null, int[]|null|\Onslip360\Nil $labels = null, string|null $name = null, int[]|null|\Onslip360\Nil $products = null, bool|null|\Onslip360\Nil $required = null, string[]|null|\Onslip360\Nil $tags = null, \Onslip360\API\ProductModifier\Title|null|\Onslip360\Nil $title = null, \Onslip360\API\ProductModifier\Type|null $type = null, string[]|null|\Onslip360\Nil $values = null): mixed

Parameters:

ParameterTypeDescription
$automaticbool|null
$deletedstring|null|\Onslip360\Nil
$labelValuesint[]|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$namestring|null
$productsint[]|null|\Onslip360\Nil
$requiredbool|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$title\Onslip360\API\ProductModifier\Title|null|\Onslip360\Nil
$type\Onslip360\API\ProductModifier\Type|null
$valuesstring[]|null|\Onslip360\Nil

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