ProductPriceServiceDecorator
ProductPriceServiceDecorator.php
:
22
Abstract
Implements
ProductPriceServiceInterface
Properties¶
$innerService
¶
ProductPriceServiceDecorator.php
:
24
|
|
Methods¶
__construct()
¶
ProductPriceServiceDecorator.php
:
26
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$innerService | ProductPriceServiceInterface | - | - |
createProductPrice()
¶
ProductPriceServiceDecorator.php
:
46
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$struct | ProductPriceCreateStructInterface | - | - |
Return values
deletePrice()
¶
ProductPriceServiceDecorator.php
:
36
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$struct | ProductPriceDeleteStructInterface | - | - |
execute()
¶
ProductPriceServiceDecorator.php
:
31
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$structs | iterable<string|int, mixed> | - | - |
findOneForCustomerGroup()
¶
ProductPriceServiceDecorator.php
:
56
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$price | PriceInterface | - | - |
$customerGroup | CustomerGroupInterface | - | - |
Return values
CustomPriceAwareInterface|null
findPrices()
¶
ProductPriceServiceDecorator.php
:
75
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | PriceQuery|null | null | - |
Return values
findPricesByProductCode()
¶
ProductPriceServiceDecorator.php
:
41
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$code | string | - | - |
Return values
getPriceById()
¶
ProductPriceServiceDecorator.php
:
70
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
getPriceByProductAndCurrency()
¶
ProductPriceServiceDecorator.php
:
63
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$product | ProductInterface | - | - |
$currency | CurrencyInterface | - | - |
Return values
updateProductPrice()
¶
ProductPriceServiceDecorator.php
:
51
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$struct | ProductPriceUpdateStructInterface | - | - |