Skip to main content

Stored_ProductModifier


Stored_ProductModifier

Properties

automatic

public bool $automatic

created

public string $created

id

public int $id

name

public string $name

type

public \Onslip360\API\ProductModifier\Type $type

updated

public string $updated

deleted

public string|null $deleted

labelValues

public array|null $labelValues

labels

public array|null $labels

products

public array|null $products

required

public bool|null $required

tags

public array|null $tags

title

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

updatedBy

public int|null $updatedBy

updatedFrom

public int|null $updatedFrom

values

public array|null $values

Methods

__construct

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

Parameters:

ParameterTypeDescription
$automaticbool
$createdstring
$idint
$namestring
$type\Onslip360\API\ProductModifier\Type
$updatedstring
$deletedstring|null
$labelValuesint[]|null
$labelsint[]|null
$productsint[]|null
$requiredbool|null
$tagsstring[]|null
$title\Onslip360\API\ProductModifier\Title|null
$updatedByint|null
$updatedFromint|null
$valuesstring[]|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