@@ -22,18 +22,21 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @throws UnsupportedDriverActionException |
| 24 | 24 | * @throws DriverException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function authorize(); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @throws UnsupportedDriverActionException |
| 30 | 31 | * @throws DriverException |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function pay(); |
| 33 | 35 | |
| 34 | 36 | /** |
| 35 | 37 | * @throws UnsupportedDriverActionException |
| 36 | 38 | * @throws DriverException |
| 39 | + * @return void |
|
| 37 | 40 | */ |
| 38 | 41 | public function cancel(); |
| 39 | 42 | } |
@@ -947,6 +947,9 @@ |
||
| 947 | 947 | $this->objectManager->flush(); |
| 948 | 948 | } |
| 949 | 949 | |
| 950 | + /** |
|
| 951 | + * @param ProductVariantInterface $variant |
|
| 952 | + */ |
|
| 950 | 953 | private function createProductImage( |
| 951 | 954 | ProductInterface $product, |
| 952 | 955 | string $imagePath, |
@@ -20,6 +20,9 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | public function isCodeDisabled(): bool; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 23 | 26 | public function nameItIn(string $name, string $localeCode): void; |
| 24 | 27 | |
| 25 | 28 | public function isProductOptionChosen(string $option): bool; |
@@ -28,30 +31,58 @@ discard block |
||
| 28 | 31 | |
| 29 | 32 | public function isMainTaxonChosen(string $taxonName): bool; |
| 30 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 31 | 37 | public function selectMainTaxon(TaxonInterface $taxon): void; |
| 32 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 33 | 42 | public function checkChannel(string $channelName): void; |
| 34 | 43 | |
| 35 | 44 | public function isImageWithTypeDisplayed(string $type): bool; |
| 36 | 45 | |
| 37 | 46 | /** |
| 38 | 47 | * @param string $type |
| 48 | + * @return void |
|
| 39 | 49 | */ |
| 40 | 50 | public function attachImage(string $path, string $type = null): void; |
| 41 | 51 | |
| 52 | + /** |
|
| 53 | + * @return void |
|
| 54 | + */ |
|
| 42 | 55 | public function changeImageWithType(string $type, string $path): void; |
| 43 | 56 | |
| 57 | + /** |
|
| 58 | + * @return void |
|
| 59 | + */ |
|
| 44 | 60 | public function removeImageWithType(string $type): void; |
| 45 | 61 | |
| 62 | + /** |
|
| 63 | + * @return void |
|
| 64 | + */ |
|
| 46 | 65 | public function removeFirstImage(): void; |
| 47 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 48 | 70 | public function modifyFirstImageType(string $type): void; |
| 49 | 71 | |
| 50 | 72 | public function countImages(): int; |
| 51 | 73 | |
| 74 | + /** |
|
| 75 | + * @return void |
|
| 76 | + */ |
|
| 52 | 77 | public function goToVariantsList(): void; |
| 53 | 78 | |
| 79 | + /** |
|
| 80 | + * @return void |
|
| 81 | + */ |
|
| 54 | 82 | public function goToVariantCreation(): void; |
| 55 | 83 | |
| 84 | + /** |
|
| 85 | + * @return void |
|
| 86 | + */ |
|
| 56 | 87 | public function goToVariantGeneration(): void; |
| 57 | 88 | } |
@@ -25,14 +25,29 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | public function isSlugReadonlyIn(string $locale): bool; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 28 | 31 | public function specifyPrice(string $channelName, string $price): void; |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 30 | 36 | public function specifyOriginalPrice(string $channelName, string $originalPrice): void; |
| 31 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 32 | 41 | public function nameItIn(string $name, string $localeCode): void; |
| 33 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 34 | 46 | public function addSelectedAttributes(): void; |
| 35 | 47 | |
| 48 | + /** |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 36 | 51 | public function removeAttribute(string $attributeName, string $localeCode): void; |
| 37 | 52 | |
| 38 | 53 | public function getAttributeValue(string $attributeName, string $localeCode): string; |
@@ -45,48 +60,83 @@ discard block |
||
| 45 | 60 | |
| 46 | 61 | public function isMainTaxonChosen(string $taxonName): bool; |
| 47 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 48 | 66 | public function selectMainTaxon(TaxonInterface $taxon): void; |
| 49 | 67 | |
| 68 | + /** |
|
| 69 | + * @return void |
|
| 70 | + */ |
|
| 50 | 71 | public function disableTracking(): void; |
| 51 | 72 | |
| 73 | + /** |
|
| 74 | + * @return void |
|
| 75 | + */ |
|
| 52 | 76 | public function enableTracking(): void; |
| 53 | 77 | |
| 54 | 78 | public function isTracked(): bool; |
| 55 | 79 | |
| 80 | + /** |
|
| 81 | + * @return void |
|
| 82 | + */ |
|
| 56 | 83 | public function enableSlugModification(string $locale): void; |
| 57 | 84 | |
| 58 | 85 | public function isImageWithTypeDisplayed(string $type): bool; |
| 59 | 86 | |
| 60 | 87 | /** |
| 61 | 88 | * @param string $type |
| 89 | + * @return void |
|
| 62 | 90 | */ |
| 63 | 91 | public function attachImage(string $path, string $type = null): void; |
| 64 | 92 | |
| 93 | + /** |
|
| 94 | + * @return void |
|
| 95 | + */ |
|
| 65 | 96 | public function changeImageWithType(string $type, string $path): void; |
| 66 | 97 | |
| 98 | + /** |
|
| 99 | + * @return void |
|
| 100 | + */ |
|
| 67 | 101 | public function removeImageWithType(string $type): void; |
| 68 | 102 | |
| 103 | + /** |
|
| 104 | + * @return void |
|
| 105 | + */ |
|
| 69 | 106 | public function removeFirstImage(): void; |
| 70 | 107 | |
| 108 | + /** |
|
| 109 | + * @return void |
|
| 110 | + */ |
|
| 71 | 111 | public function modifyFirstImageType(string $type): void; |
| 72 | 112 | |
| 73 | 113 | public function countImages(): int; |
| 74 | 114 | |
| 75 | 115 | /** |
| 76 | 116 | * @param string[] $productsNames |
| 117 | + * @return void |
|
| 77 | 118 | */ |
| 78 | 119 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames): void; |
| 79 | 120 | |
| 80 | 121 | public function hasAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): bool; |
| 81 | 122 | |
| 123 | + /** |
|
| 124 | + * @return void |
|
| 125 | + */ |
|
| 82 | 126 | public function removeAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): void; |
| 83 | 127 | |
| 84 | 128 | public function getPricingConfigurationForChannelAndCurrencyCalculator(ChannelInterface $channel, CurrencyInterface $currency): string; |
| 85 | 129 | |
| 130 | + /** |
|
| 131 | + * @return void |
|
| 132 | + */ |
|
| 86 | 133 | public function activateLanguageTab(string $locale): void; |
| 87 | 134 | |
| 88 | 135 | public function getSlug(string $locale): string; |
| 89 | 136 | |
| 137 | + /** |
|
| 138 | + * @return void |
|
| 139 | + */ |
|
| 90 | 140 | public function specifySlugIn(string $slug, string $locale): void; |
| 91 | 141 | |
| 92 | 142 | public function getPriceForChannel(string $channelName): string; |
@@ -95,9 +145,18 @@ discard block |
||
| 95 | 145 | |
| 96 | 146 | public function isShippingRequired(): bool; |
| 97 | 147 | |
| 148 | + /** |
|
| 149 | + * @return void |
|
| 150 | + */ |
|
| 98 | 151 | public function goToVariantsList(): void; |
| 99 | 152 | |
| 153 | + /** |
|
| 154 | + * @return void |
|
| 155 | + */ |
|
| 100 | 156 | public function goToVariantCreation(): void; |
| 101 | 157 | |
| 158 | + /** |
|
| 159 | + * @return void |
|
| 160 | + */ |
|
| 102 | 161 | public function goToVariantGeneration(): void; |
| 103 | 162 | } |
@@ -17,11 +17,20 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseStateToFilter(string $shipmentState): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function shipShipmentOfOrderWithNumber(string $orderNumber): void; |
| 23 | 29 | |
| 24 | 30 | public function getShipmentStatusByOrderNumber(string $orderNumber): string; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 26 | 35 | public function showOrderPageForNthShipment(int $shipmentNumber): void; |
| 27 | 36 | } |
@@ -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 | } |
@@ -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; |