@@ -42,6 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @throws \InvalidArgumentException |
45 | + * @return void |
|
45 | 46 | */ |
46 | 47 | public function setVariantSelectionMethod(?string $variantSelectionMethod): void; |
47 | 48 | |
@@ -49,12 +50,24 @@ discard block |
||
49 | 50 | |
50 | 51 | public function getVariantSelectionMethodLabel(): string; |
51 | 52 | |
53 | + /** |
|
54 | + * @return string |
|
55 | + */ |
|
52 | 56 | public function getShortDescription(): ?string; |
53 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
54 | 61 | public function setShortDescription(?string $shortDescription): void; |
55 | 62 | |
63 | + /** |
|
64 | + * @return \Sylius\Component\Taxonomy\Model\TaxonInterface |
|
65 | + */ |
|
56 | 66 | public function getMainTaxon(): ?TaxonInterface; |
57 | 67 | |
68 | + /** |
|
69 | + * @return void |
|
70 | + */ |
|
58 | 71 | public function setMainTaxon(?TaxonInterface $mainTaxon): void; |
59 | 72 | |
60 | 73 | /** |
@@ -63,6 +76,7 @@ discard block |
||
63 | 76 | public function getAcceptedReviews(): Collection; |
64 | 77 | |
65 | 78 | /** |
79 | + * @param string $locale |
|
66 | 80 | * @return ProductTranslationInterface |
67 | 81 | */ |
68 | 82 | public function getTranslation(?string $locale = null): TranslationInterface; |
@@ -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 | { |
@@ -30,24 +30,58 @@ discard block |
||
30 | 30 | VersionedInterface, |
31 | 31 | ProductImagesAwareInterface |
32 | 32 | { |
33 | + /** |
|
34 | + * @return double |
|
35 | + */ |
|
33 | 36 | public function getWeight(): ?float; |
34 | 37 | |
38 | + /** |
|
39 | + * @return void |
|
40 | + */ |
|
35 | 41 | public function setWeight(?float $weight): void; |
36 | 42 | |
43 | + /** |
|
44 | + * @return double |
|
45 | + */ |
|
37 | 46 | public function getWidth(): ?float; |
38 | 47 | |
48 | + /** |
|
49 | + * @return void |
|
50 | + */ |
|
39 | 51 | public function setWidth(?float $width): void; |
40 | 52 | |
53 | + /** |
|
54 | + * @return double |
|
55 | + */ |
|
41 | 56 | public function getHeight(): ?float; |
42 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
43 | 61 | public function setHeight(?float $height): void; |
44 | 62 | |
63 | + /** |
|
64 | + * @return double |
|
65 | + */ |
|
45 | 66 | public function getDepth(): ?float; |
46 | 67 | |
68 | + /** |
|
69 | + * @return void |
|
70 | + */ |
|
47 | 71 | public function setDepth(?float $depth): void; |
48 | 72 | |
73 | + /** |
|
74 | + * @param TaxCategoryInterface $category |
|
75 | + * |
|
76 | + * @return void |
|
77 | + */ |
|
49 | 78 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
50 | 79 | |
80 | + /** |
|
81 | + * @param ShippingCategoryInterface $shippingCategory |
|
82 | + * |
|
83 | + * @return void |
|
84 | + */ |
|
51 | 85 | public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void; |
52 | 86 | |
53 | 87 | /** |
@@ -61,11 +95,20 @@ discard block |
||
61 | 95 | |
62 | 96 | public function hasChannelPricing(ChannelPricingInterface $channelPricing): bool; |
63 | 97 | |
98 | + /** |
|
99 | + * @return void |
|
100 | + */ |
|
64 | 101 | public function addChannelPricing(ChannelPricingInterface $channelPricing): void; |
65 | 102 | |
103 | + /** |
|
104 | + * @return void |
|
105 | + */ |
|
66 | 106 | public function removeChannelPricing(ChannelPricingInterface $channelPricing): void; |
67 | 107 | |
68 | 108 | public function isShippingRequired(): bool; |
69 | 109 | |
110 | + /** |
|
111 | + * @return void |
|
112 | + */ |
|
70 | 113 | public function setShippingRequired(bool $shippingRequired): void; |
71 | 114 | } |
@@ -17,7 +17,15 @@ |
||
17 | 17 | |
18 | 18 | interface PromotionCouponInterface extends BasePromotionCouponInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return integer|null |
|
22 | + */ |
|
20 | 23 | public function getPerCustomerUsageLimit(): ?int; |
21 | 24 | |
25 | + /** |
|
26 | + * @param integer $perCustomerUsageLimit |
|
27 | + * |
|
28 | + * @return void |
|
29 | + */ |
|
22 | 30 | public function setPerCustomerUsageLimit(?int $perCustomerUsageLimit): void; |
23 | 31 | } |
@@ -21,9 +21,20 @@ |
||
21 | 21 | |
22 | 22 | interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface |
23 | 23 | { |
24 | + /** |
|
25 | + * @return ZoneInterface |
|
26 | + */ |
|
24 | 27 | public function getZone(): ?ZoneInterface; |
25 | 28 | |
29 | + /** |
|
30 | + * @return void |
|
31 | + */ |
|
26 | 32 | public function setZone(?ZoneInterface $zone): void; |
27 | 33 | |
34 | + /** |
|
35 | + * @param TaxCategoryInterface $category |
|
36 | + * |
|
37 | + * @return void |
|
38 | + */ |
|
28 | 39 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
29 | 40 | } |
@@ -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 | } |