Partial_ProductModifier
Partial_ProductModifier
- Full name:
\Onslip360\API\Partial_ProductModifier
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$automatic | bool|null | |
$deleted | string|null|\Onslip360\Nil | |
$labelValues | int[]|null|\Onslip360\Nil | |
$labels | int[]|null|\Onslip360\Nil | |
$name | string|null | |
$products | int[]|null|\Onslip360\Nil | |
$required | bool|null|\Onslip360\Nil | |
$tags | string[]|null|\Onslip360\Nil | |
$title | \Onslip360\API\ProductModifier\Title|null|\Onslip360\Nil | |
$type | \Onslip360\API\ProductModifier\Type|null | |
$values | string[]|null|\Onslip360\Nil |
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