ProductVariantQuery
ProductVariantQuery.php
:
13
Final
Constants¶
DEFAULT_LIMIT ¶
ProductVariantQuery.php
:
15
|
|
|
Methods¶
__construct()
¶
ProductVariantQuery.php
:
27
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $offset | int | 0 | - |
| $limit | int | ProductVariantQuery::DEFAULT_LIMIT | - |
getAttributesCriterion()
¶
ProductVariantQuery.php
:
75
|
|
|
Return values
getLimit()
¶
ProductVariantQuery.php
:
46
|
|
|
Return values
int
getOffset()
¶
ProductVariantQuery.php
:
36
|
|
|
Return values
int
getVariantCodes()
¶
ProductVariantQuery.php
:
59
|
|
|
Return values
array<string|int, string>|null
setAttributesCriterion()
¶
ProductVariantQuery.php
:
83
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $criterion | ProductCriterionAdapter|null | - | - |
setLimit()
¶
ProductVariantQuery.php
:
51
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $limit | int | - | - |
setOffset()
¶
ProductVariantQuery.php
:
41
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $offset | int | - | - |
setVariantCodes()
¶
ProductVariantQuery.php
:
67
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $variantCodes | array<string|int, string>|null | - | - |