@@ -17,11 +17,22 @@ |
||
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 | |
24 | 32 | public function isReusableFromCancelledOrders(): bool; |
25 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
26 | 37 | public function setReusableFromCancelledOrders(bool $reusableFromCancelledOrders): void; |
27 | 38 | } |
@@ -37,6 +37,7 @@ |
||
37 | 37 | * @Transform /^taxon with "([^"]+)" name/ |
38 | 38 | * @Transform /^taxon "([^"]+)"$/ |
39 | 39 | * @Transform :taxon |
40 | + * @param string $name |
|
40 | 41 | */ |
41 | 42 | public function getTaxonByName($name) |
42 | 43 | { |
@@ -17,26 +17,50 @@ discard block |
||
17 | 17 | |
18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function setPriority(?int $priority): void; |
21 | 24 | |
22 | 25 | public function getPriority(): int; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function nameIt(string $name): void; |
25 | 31 | |
26 | 32 | public function checkChannelsState(string $channelName): bool; |
27 | 33 | |
28 | 34 | public function isCodeDisabled(): bool; |
29 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
30 | 39 | public function fillUsageLimit(string $limit): void; |
31 | 40 | |
41 | + /** |
|
42 | + * @return void |
|
43 | + */ |
|
32 | 44 | public function makeExclusive(): void; |
33 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
34 | 49 | public function checkCouponBased(): void; |
35 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
36 | 54 | public function checkChannel(string $name): void; |
37 | 55 | |
56 | + /** |
|
57 | + * @return void |
|
58 | + */ |
|
38 | 59 | public function setStartsAt(\DateTimeInterface $dateTime): void; |
39 | 60 | |
61 | + /** |
|
62 | + * @return void |
|
63 | + */ |
|
40 | 64 | public function setEndsAt(\DateTimeInterface $dateTime): void; |
41 | 65 | |
42 | 66 | public function hasStartsAt(\DateTimeInterface $dateTime): bool; |
@@ -45,6 +69,9 @@ discard block |
||
45 | 69 | |
46 | 70 | public function isCouponManagementAvailable(): bool; |
47 | 71 | |
72 | + /** |
|
73 | + * @return void |
|
74 | + */ |
|
48 | 75 | public function manageCoupons(): void; |
49 | 76 | |
50 | 77 | public function hasAnyRule(): bool; |
@@ -19,8 +19,14 @@ discard block |
||
19 | 19 | |
20 | 20 | interface UpdatePageInterface extends BaseUpdatePageInterface |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function disableTracking(): void; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function enableTracking(): void; |
25 | 31 | |
26 | 32 | public function isCodeDisabled(): bool; |
@@ -39,9 +45,18 @@ discard block |
||
39 | 45 | |
40 | 46 | public function getNameInLanguage(string $language): string; |
41 | 47 | |
48 | + /** |
|
49 | + * @return void |
|
50 | + */ |
|
42 | 51 | public function selectOption(string $optionName, string $optionValue): void; |
43 | 52 | |
53 | + /** |
|
54 | + * @return void |
|
55 | + */ |
|
44 | 56 | public function specifyCurrentStock(int $amount): void; |
45 | 57 | |
58 | + /** |
|
59 | + * @return void |
|
60 | + */ |
|
46 | 61 | public function specifyPrice(int $price): void; |
47 | 62 | } |
@@ -31,13 +31,22 @@ |
||
31 | 31 | ?string $baseLocaleCode = null |
32 | 32 | ): Collection; |
33 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
34 | 37 | public function addAttribute(AttributeValueInterface $attribute): void; |
35 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
36 | 42 | public function removeAttribute(AttributeValueInterface $attribute): void; |
37 | 43 | |
38 | 44 | public function hasAttribute(AttributeValueInterface $attribute): bool; |
39 | 45 | |
40 | 46 | public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool; |
41 | 47 | |
48 | + /** |
|
49 | + * @param string $localeCode |
|
50 | + */ |
|
42 | 51 | public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface; |
43 | 52 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | { |
18 | 18 | public function getCustomer(): ?CustomerInterface; |
19 | 19 | |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function setCustomer(?CustomerInterface $customer): void; |
21 | 24 | } |
@@ -18,30 +18,60 @@ discard block |
||
18 | 18 | |
19 | 19 | interface AdjustmentInterface extends ResourceInterface, TimestampableInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return OrderItemUnitInterface|null |
|
23 | + */ |
|
21 | 24 | public function getAdjustable(): ?AdjustableInterface; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setAdjustable(?AdjustableInterface $adjustable): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
25 | 34 | public function getType(): ?string; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function setType(?string $type): void; |
28 | 40 | |
41 | + /** |
|
42 | + * @return string|null |
|
43 | + */ |
|
29 | 44 | public function getLabel(): ?string; |
30 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
31 | 49 | public function setLabel(?string $label): void; |
32 | 50 | |
33 | 51 | public function getAmount(): int; |
34 | 52 | |
53 | + /** |
|
54 | + * @return void |
|
55 | + */ |
|
35 | 56 | public function setAmount(int $amount): void; |
36 | 57 | |
37 | 58 | public function isNeutral(): bool; |
38 | 59 | |
60 | + /** |
|
61 | + * @return void |
|
62 | + */ |
|
39 | 63 | public function setNeutral(bool $neutral): void; |
40 | 64 | |
41 | 65 | public function isLocked(): bool; |
42 | 66 | |
67 | + /** |
|
68 | + * @return void |
|
69 | + */ |
|
43 | 70 | public function lock(): void; |
44 | 71 | |
72 | + /** |
|
73 | + * @return void |
|
74 | + */ |
|
45 | 75 | public function unlock(): void; |
46 | 76 | |
47 | 77 | /** |
@@ -54,7 +84,13 @@ discard block |
||
54 | 84 | */ |
55 | 85 | public function isCredit(): bool; |
56 | 86 | |
87 | + /** |
|
88 | + * @return string|null |
|
89 | + */ |
|
57 | 90 | public function getOriginCode(): ?string; |
58 | 91 | |
92 | + /** |
|
93 | + * @return void |
|
94 | + */ |
|
59 | 95 | public function setOriginCode(?string $originCode): void; |
60 | 96 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | { |
18 | 18 | public function getOrder(): ?OrderInterface; |
19 | 19 | |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function setOrder(?OrderInterface $order): void; |
21 | 24 | } |
@@ -20,16 +20,28 @@ |
||
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 | + * @return void |
|
30 | + */ |
|
25 | 31 | public function setOption(?ProductOptionInterface $option): void; |
26 | 32 | |
27 | 33 | public function getValue(): ?string; |
28 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
29 | 38 | public function setValue(?string $value): void; |
30 | 39 | |
31 | 40 | public function getOptionCode(): ?string; |
32 | 41 | |
42 | + /** |
|
43 | + * @return string |
|
44 | + */ |
|
33 | 45 | public function getName(): ?string; |
34 | 46 | |
35 | 47 | /** |