@@ -18,7 +18,13 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface TaxRateInterface extends BaseTaxRateInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return ZoneInterface |
|
| 23 | + */ |
|
| 21 | 24 | public function getZone(): ?ZoneInterface; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function setZone(?ZoneInterface $zone): void; |
| 24 | 30 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface OrderItemNamesSetterInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function __invoke(OrderInterface $order): void; |
| 21 | 24 | } |
@@ -18,5 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface OrderPaymentProviderInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return PaymentInterface |
|
| 23 | + */ |
|
| 21 | 24 | public function provideOrderPayment(OrderInterface $order, string $targetState): ?PaymentInterface; |
| 22 | 25 | } |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param array|int[] $adjustmentsAmounts |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts): void; |
| 25 | 26 | } |
@@ -17,7 +17,13 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface OrderPromotionsUsageModifierInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function increment(OrderInterface $order): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function decrement(OrderInterface $order): void; |
| 23 | 29 | } |
@@ -22,7 +22,13 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function getForChannel(ChannelInterface $channel): ?OrderInterface; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 25 | 28 | public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void; |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 27 | 33 | public function removeForChannel(ChannelInterface $channel): void; |
| 28 | 34 | } |
@@ -18,5 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface OrderTaxesApplicatorInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function apply(OrderInterface $order, ZoneInterface $zone): void; |
| 22 | 25 | } |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface TaxCalculationStrategyInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function applyTaxes(OrderInterface $order, ZoneInterface $zone): void; |
| 22 | 25 | |
| 23 | 26 | public function getType(): string; |
@@ -17,7 +17,13 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface OrderTokenAssignerInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function assignTokenValue(OrderInterface $order): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function assignTokenValueIfNotSet(OrderInterface $order): void; |
| 23 | 29 | } |