ProductVariantUpdateStruct
ProductVariantUpdateStruct.php
:
11
Final
Methods¶
__construct()
¶
ProductVariantUpdateStruct.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $attributes | array<string, object|scalar|array<string|int, mixed>|null> | [] | - |
| $code | string|null | null | - |
getAttribute()
¶
ProductVariantUpdateStruct.php
:
40
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $default | object|scalar|array<string|int, mixed>|null | null | - |
Return values
object|scalar|array<string|int, mixed>|null
getAttributes()
¶
ProductVariantUpdateStruct.php
:
30
|
|
|
Return values
array<string, object|scalar|array<string|int, mixed>|null>
getCode()
¶
ProductVariantUpdateStruct.php
:
71
|
|
|
Return values
string|null
hasAttribute()
¶
ProductVariantUpdateStruct.php
:
45
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
Return values
bool
hasAttributes()
¶
ProductVariantUpdateStruct.php
:
50
|
|
|
Return values
bool
setAttribute()
¶
ProductVariantUpdateStruct.php
:
58
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $value | object|scalar|array<string|int, mixed>|null | - | - |
setAttributes()
¶
ProductVariantUpdateStruct.php
:
66
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $attributes | array<string, object|scalar|array<string|int, mixed>|null> | - | - |
setCode()
¶
ProductVariantUpdateStruct.php
:
76
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $code | string|null | - | - |