@@ -24,19 +24,45 @@ |
||
24 | 24 | ToggleableInterface, |
25 | 25 | ResourceInterface |
26 | 26 | { |
27 | + /** |
|
28 | + * @return string|null |
|
29 | + */ |
|
27 | 30 | public function getName(): ?string; |
28 | 31 | |
32 | + /** |
|
33 | + * @param string $name |
|
34 | + * |
|
35 | + * @return void |
|
36 | + */ |
|
29 | 37 | public function setName(?string $name): void; |
30 | 38 | |
39 | + /** |
|
40 | + * @return string|null |
|
41 | + */ |
|
31 | 42 | public function getDescription(): ?string; |
32 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
33 | 47 | public function setDescription(?string $description): void; |
34 | 48 | |
49 | + /** |
|
50 | + * @return string|null |
|
51 | + */ |
|
35 | 52 | public function getHostname(): ?string; |
36 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
37 | 57 | public function setHostname(?string $hostname): void; |
38 | 58 | |
59 | + /** |
|
60 | + * @return string|null |
|
61 | + */ |
|
39 | 62 | public function getColor(): ?string; |
40 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
41 | 67 | public function setColor(?string $color): void; |
42 | 68 | } |
@@ -24,7 +24,13 @@ |
||
24 | 24 | |
25 | 25 | public function hasChannel(ChannelInterface $channel): bool; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function addChannel(ChannelInterface $channel): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function removeChannel(ChannelInterface $channel): void; |
30 | 36 | } |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface CurrencyStorageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function set(ChannelInterface $channel, string $currencyCode): void; |
22 | 25 | |
23 | 26 | /** |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface CustomerAddressAdderInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function add(CustomerInterface $customer, AddressInterface $address): void; |
22 | 25 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface OrderAddressesSaverInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function saveAddresses(OrderInterface $order): void; |
21 | 24 | } |
@@ -19,13 +19,18 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @throws \InvalidArgumentException |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function cancel(OrderInterface $order): void; |
24 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
25 | 29 | public function hold(OrderInterface $order): void; |
26 | 30 | |
27 | 31 | /** |
28 | 32 | * @throws \InvalidArgumentException |
33 | + * @return void |
|
29 | 34 | */ |
30 | 35 | public function sell(OrderInterface $order): void; |
31 | 36 | } |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface LocaleStorageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function set(ChannelInterface $channel, string $localeCode): void; |
22 | 25 | |
23 | 26 | /** |
@@ -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; |