@@ -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 | /** |
@@ -19,15 +19,33 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS'; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return string |
|
| 24 | + */ |
|
| 22 | 25 | public function getFirstName(): ?string; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setFirstName(?string $firstName): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 26 | 35 | public function getLastName(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setLastName(?string $lastName): void; |
| 29 | 41 | |
| 42 | + /** |
|
| 43 | + * @return string |
|
| 44 | + */ |
|
| 30 | 45 | public function getLocaleCode(): ?string; |
| 31 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 32 | 50 | public function setLocaleCode(?string $code): void; |
| 33 | 51 | } |
@@ -17,12 +17,26 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface ChannelPricingInterface extends ResourceInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return ProductVariantInterface |
|
| 22 | + */ |
|
| 20 | 23 | public function getProductVariant(): ?ProductVariantInterface; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function setProductVariant(?ProductVariantInterface $productVariant): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return integer |
|
| 32 | + */ |
|
| 24 | 33 | public function getPrice(): ?int; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @param integer $price |
|
| 37 | + * |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 26 | 40 | public function setPrice(?int $price): void; |
| 27 | 41 | |
| 28 | 42 | /** |
@@ -30,10 +44,19 @@ discard block |
||
| 30 | 44 | */ |
| 31 | 45 | public function getChannelCode(): ?string; |
| 32 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 33 | 50 | public function setChannelCode(?string $channelCode): void; |
| 34 | 51 | |
| 52 | + /** |
|
| 53 | + * @return integer |
|
| 54 | + */ |
|
| 35 | 55 | public function getOriginalPrice(): ?int; |
| 36 | 56 | |
| 57 | + /** |
|
| 58 | + * @return void |
|
| 59 | + */ |
|
| 37 | 60 | public function setOriginalPrice(?int $originalPrice): void; |
| 38 | 61 | |
| 39 | 62 | public function isPriceReduced(): bool; |
@@ -22,16 +22,33 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function getType(): ?string; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 25 | 28 | public function setType(?string $type): void; |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @return \SplFileInfo |
|
| 32 | + */ |
|
| 27 | 33 | public function getFile(): ?\SplFileInfo; |
| 28 | 34 | |
| 35 | + /** |
|
| 36 | + * @param \Symfony\Component\HttpFoundation\File\UploadedFile $file |
|
| 37 | + * |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 29 | 40 | public function setFile(?\SplFileInfo $file): void; |
| 30 | 41 | |
| 31 | 42 | public function hasFile(): bool; |
| 32 | 43 | |
| 44 | + /** |
|
| 45 | + * @return string |
|
| 46 | + */ |
|
| 33 | 47 | public function getPath(): ?string; |
| 34 | 48 | |
| 49 | + /** |
|
| 50 | + * @return void |
|
| 51 | + */ |
|
| 35 | 52 | public function setPath(?string $path): void; |
| 36 | 53 | |
| 37 | 54 | /** |
@@ -41,6 +58,7 @@ discard block |
||
| 41 | 58 | |
| 42 | 59 | /** |
| 43 | 60 | * @param object|null $owner |
| 61 | + * @return void |
|
| 44 | 62 | */ |
| 45 | 63 | public function setOwner($owner): void; |
| 46 | 64 | } |
@@ -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 | } |