@@ -17,15 +17,33 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface ProductTaxonInterface extends ResourceInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return ProductInterface |
|
| 22 | + */ |
|
| 20 | 23 | public function getProduct(): ?ProductInterface; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function setProduct(?ProductInterface $product): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return TaxonInterface |
|
| 32 | + */ |
|
| 24 | 33 | public function getTaxon(): ?TaxonInterface; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function setTaxon(?TaxonInterface $taxon): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return integer |
|
| 42 | + */ |
|
| 28 | 43 | public function getPosition(): ?int; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function setPosition(?int $position): void; |
| 31 | 49 | } |
@@ -24,8 +24,14 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function hasProductTaxon(ProductTaxonInterface $productTaxon): bool; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 27 | 30 | public function addProductTaxon(ProductTaxonInterface $productTaxon): void; |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 29 | 35 | public function removeProductTaxon(ProductTaxonInterface $productTaxon): void; |
| 30 | 36 | |
| 31 | 37 | /** |
@@ -22,5 +22,8 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function getShortDescription(): ?string; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 25 | 28 | public function setShortDescription(?string $shortDescription): void; |
| 26 | 29 | } |
@@ -119,6 +119,7 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | 121 | * {@inheritdoc} |
| 122 | + * @param integer $onHold |
|
| 122 | 123 | */ |
| 123 | 124 | public function setOnHold(?int $onHold): void |
| 124 | 125 | { |
@@ -135,6 +136,7 @@ discard block |
||
| 135 | 136 | |
| 136 | 137 | /** |
| 137 | 138 | * {@inheritdoc} |
| 139 | + * @param integer $onHand |
|
| 138 | 140 | */ |
| 139 | 141 | public function setOnHand(?int $onHand): void |
| 140 | 142 | { |
@@ -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 | } |