@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface ProductAssociationTypeTranslationInterface extends ResourceInterface, TranslationInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | } |
@@ -17,7 +17,13 @@ |
||
17 | 17 | |
18 | 18 | interface ProductAttributeValueInterface extends BaseAttributeValueInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return ProductInterface|null |
|
22 | + */ |
|
20 | 23 | public function getProduct(): ?ProductInterface; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function setProduct(?ProductInterface $product): void; |
23 | 29 | } |
@@ -34,18 +34,30 @@ discard block |
||
34 | 34 | { |
35 | 35 | public function getName(): ?string; |
36 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
37 | 40 | public function setName(?string $name): void; |
38 | 41 | |
39 | 42 | public function getDescription(): ?string; |
40 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
41 | 47 | public function setDescription(?string $description): void; |
42 | 48 | |
43 | 49 | public function getMetaKeywords(): ?string; |
44 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
45 | 54 | public function setMetaKeywords(?string $metaKeywords): void; |
46 | 55 | |
47 | 56 | public function getMetaDescription(): ?string; |
48 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
49 | 61 | public function setMetaDescription(?string $metaDescription): void; |
50 | 62 | |
51 | 63 | public function hasVariants(): bool; |
@@ -55,8 +67,14 @@ discard block |
||
55 | 67 | */ |
56 | 68 | public function getVariants(): Collection; |
57 | 69 | |
70 | + /** |
|
71 | + * @return void |
|
72 | + */ |
|
58 | 73 | public function addVariant(ProductVariantInterface $variant): void; |
59 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
60 | 78 | public function removeVariant(ProductVariantInterface $variant): void; |
61 | 79 | |
62 | 80 | public function hasVariant(ProductVariantInterface $variant): bool; |
@@ -68,8 +86,14 @@ discard block |
||
68 | 86 | */ |
69 | 87 | public function getOptions(): Collection; |
70 | 88 | |
89 | + /** |
|
90 | + * @return void |
|
91 | + */ |
|
71 | 92 | public function addOption(ProductOptionInterface $option): void; |
72 | 93 | |
94 | + /** |
|
95 | + * @return void |
|
96 | + */ |
|
73 | 97 | public function removeOption(ProductOptionInterface $option): void; |
74 | 98 | |
75 | 99 | public function hasOption(ProductOptionInterface $option): bool; |
@@ -79,8 +103,14 @@ discard block |
||
79 | 103 | */ |
80 | 104 | public function getAssociations(): Collection; |
81 | 105 | |
106 | + /** |
|
107 | + * @return void |
|
108 | + */ |
|
82 | 109 | public function addAssociation(ProductAssociationInterface $association): void; |
83 | 110 | |
111 | + /** |
|
112 | + * @return void |
|
113 | + */ |
|
84 | 114 | public function removeAssociation(ProductAssociationInterface $association): void; |
85 | 115 | |
86 | 116 | public function isSimple(): bool; |
@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param string $name |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function setName(?string $name): void; |
38 | 39 | |
@@ -43,6 +44,7 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param int $position |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function setPosition(?int $position): void; |
48 | 50 | |
@@ -51,8 +53,14 @@ discard block |
||
51 | 53 | */ |
52 | 54 | public function getValues(): Collection; |
53 | 55 | |
56 | + /** |
|
57 | + * @return void |
|
58 | + */ |
|
54 | 59 | public function addValue(ProductOptionValueInterface $optionValue): void; |
55 | 60 | |
61 | + /** |
|
62 | + * @return void |
|
63 | + */ |
|
56 | 64 | public function removeValue(ProductOptionValueInterface $optionValue): void; |
57 | 65 | |
58 | 66 | public function hasValue(ProductOptionValueInterface $optionValue): bool; |
@@ -20,16 +20,30 @@ |
||
20 | 20 | |
21 | 21 | interface ProductOptionValueInterface extends ResourceInterface, CodeAwareInterface, TranslatableInterface |
22 | 22 | { |
23 | + /** |
|
24 | + * @return ProductOptionInterface |
|
25 | + */ |
|
23 | 26 | public function getOption(): ?ProductOptionInterface; |
24 | 27 | |
28 | + /** |
|
29 | + * @param ProductOptionInterface|null $option |
|
30 | + * |
|
31 | + * @return void |
|
32 | + */ |
|
25 | 33 | public function setOption(?ProductOptionInterface $option): void; |
26 | 34 | |
27 | 35 | public function getValue(): ?string; |
28 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
29 | 40 | public function setValue(?string $value): void; |
30 | 41 | |
31 | 42 | public function getOptionCode(): ?string; |
32 | 43 | |
44 | + /** |
|
45 | + * @return string |
|
46 | + */ |
|
33 | 47 | public function getName(): ?string; |
34 | 48 | |
35 | 49 | /** |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface ProductOptionValueTranslationInterface extends ResourceInterface, TranslationInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string |
|
23 | + */ |
|
21 | 24 | public function getValue(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setValue(?string $value): void; |
24 | 30 | } |
@@ -19,19 +19,43 @@ |
||
19 | 19 | |
20 | 20 | interface ProductTranslationInterface extends SlugAwareInterface, ResourceInterface, TranslationInterface |
21 | 21 | { |
22 | + /** |
|
23 | + * @return string |
|
24 | + */ |
|
22 | 25 | public function getName(): ?string; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function setName(?string $name): void; |
25 | 31 | |
32 | + /** |
|
33 | + * @return string |
|
34 | + */ |
|
26 | 35 | public function getDescription(): ?string; |
27 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
28 | 40 | public function setDescription(?string $description): void; |
29 | 41 | |
42 | + /** |
|
43 | + * @return string |
|
44 | + */ |
|
30 | 45 | public function getMetaKeywords(): ?string; |
31 | 46 | |
47 | + /** |
|
48 | + * @return void |
|
49 | + */ |
|
32 | 50 | public function setMetaKeywords(?string $metaKeywords): void; |
33 | 51 | |
52 | + /** |
|
53 | + * @return string |
|
54 | + */ |
|
34 | 55 | public function getMetaDescription(): ?string; |
35 | 56 | |
57 | + /** |
|
58 | + * @return void |
|
59 | + */ |
|
36 | 60 | public function setMetaDescription(?string $metaDescription): void; |
37 | 61 | } |
@@ -26,8 +26,14 @@ discard block |
||
26 | 26 | CodeAwareInterface, |
27 | 27 | TranslatableInterface |
28 | 28 | { |
29 | + /** |
|
30 | + * @return string |
|
31 | + */ |
|
29 | 32 | public function getName(): ?string; |
30 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
31 | 37 | public function setName(?string $name): void; |
32 | 38 | |
33 | 39 | public function getDescriptor(): string; |
@@ -37,21 +43,42 @@ discard block |
||
37 | 43 | */ |
38 | 44 | public function getOptionValues(): Collection; |
39 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
40 | 49 | public function addOptionValue(ProductOptionValueInterface $optionValue): void; |
41 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
42 | 54 | public function removeOptionValue(ProductOptionValueInterface $optionValue): void; |
43 | 55 | |
44 | 56 | public function hasOptionValue(ProductOptionValueInterface $optionValue): bool; |
45 | 57 | |
58 | + /** |
|
59 | + * @return ProductInterface |
|
60 | + */ |
|
46 | 61 | public function getProduct(): ?ProductInterface; |
47 | 62 | |
63 | + /** |
|
64 | + * @return void |
|
65 | + */ |
|
48 | 66 | public function setProduct(?ProductInterface $product): void; |
49 | 67 | |
68 | + /** |
|
69 | + * @return integer |
|
70 | + */ |
|
50 | 71 | public function getPosition(): ?int; |
51 | 72 | |
73 | + /** |
|
74 | + * @param integer $position |
|
75 | + * |
|
76 | + * @return void |
|
77 | + */ |
|
52 | 78 | public function setPosition(?int $position): void; |
53 | 79 | |
54 | 80 | /** |
81 | + * @param string $locale |
|
55 | 82 | * @return ProductVariantTranslationInterface |
56 | 83 | */ |
57 | 84 | public function getTranslation(?string $locale = null): TranslationInterface; |
@@ -23,5 +23,8 @@ |
||
23 | 23 | */ |
24 | 24 | public function getName(): ?string; |
25 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
26 | 29 | public function setName(?string $name): void; |
27 | 30 | } |