Methods¶
getAssets() ¶
ProductInterface.php
:
25
|
|
Return values
getAttributes() ¶
ProductInterface.php
:
34
|
|
Return values
array<string|int, AttributeInterface>
getAvailability() ¶
AvailabilityAwareInterface.php
:
16
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$context | AvailabilityContextInterface|null | null | - |
Return values
getCode() ¶
ProductInterface.php
:
17
|
|
Return values
string
getCreatedAt() ¶
ProductInterface.php
:
27
|
|
Return values
DateTimeInterface
getName() ¶
ProductInterface.php
:
19
|
|
Return values
string
getProductType() ¶
ProductInterface.php
:
21
|
|
Return values
getThumbnail() ¶
ProductInterface.php
:
23
|
|
Return values
Thumbnail|null
getUpdatedAt() ¶
ProductInterface.php
:
29
|
|
Return values
DateTimeInterface
hasAvailability() ¶
AvailabilityAwareInterface.php
:
23
|
|
Return values
bool
isAvailable() ¶
AvailabilityAwareInterface.php
:
21
Return true if product availability is defined and product is available.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$context | AvailabilityContextInterface|null | null | - |
Return values
bool
isBaseProduct() ¶
ProductInterface.php
:
36
|
|
Return values
bool
isVariant() ¶
ProductInterface.php
:
38
|
|
Return values
bool