@@ -31,7 +31,13 @@ |
||
| 31 | 31 | |
| 32 | 32 | public function hasImage(ImageInterface $image): bool; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function addImage(ImageInterface $image): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function removeImage(ImageInterface $image): void; |
| 37 | 43 | } |
@@ -19,16 +19,32 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function getProduct(): ?ProductInterface; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return ProductVariantInterface |
|
| 24 | + */ |
|
| 22 | 25 | public function getVariant(): ?ProductVariantInterface; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setVariant(?ProductVariantInterface $variant): void; |
| 25 | 31 | |
| 26 | 32 | public function getProductName(): ?string; |
| 27 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $productName |
|
| 36 | + * |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 28 | 39 | public function setProductName(?string $productName): void; |
| 29 | 40 | |
| 30 | 41 | public function getVariantName(): ?string; |
| 31 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $variantName |
|
| 45 | + * |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 32 | 48 | public function setVariantName(?string $variantName): void; |
| 33 | 49 | |
| 34 | 50 | public function getTaxTotal(): int; |
@@ -24,8 +24,14 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function getProductVariants(): Collection; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 27 | 30 | public function addProductVariant(ProductVariantInterface $productVariant): void; |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 29 | 35 | public function removeProductVariant(ProductVariantInterface $productVariant): void; |
| 30 | 36 | |
| 31 | 37 | public function hasProductVariant(ProductVariantInterface $productVariant): bool; |
@@ -31,7 +31,13 @@ |
||
| 31 | 31 | |
| 32 | 32 | public function hasImage(ProductImageInterface $image): bool; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function addImage(ProductImageInterface $image): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function removeImage(ProductImageInterface $image): void; |
| 37 | 43 | } |
@@ -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 | } |
@@ -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 | } |