@@ -31,7 +31,13 @@ |
||
| 31 | 31 | |
| 32 | 32 | public function getSubHeader(): string; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function logOut(): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function chooseChannel(string $channelName): void; |
| 37 | 43 | } |
@@ -17,10 +17,19 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePage |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyRatio(string $ratio): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function chooseSourceCurrency(string $currency): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function chooseTargetCurrency(string $currency): void; |
| 25 | 34 | |
| 26 | 35 | public function hasFormValidationError(string $expectedMessage): bool; |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseCurrencyFilter(string $currencyName): void; |
| 21 | 24 | } |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function getRatio(): string; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function changeRatio(string $ratio): void; |
| 23 | 26 | |
| 24 | 27 | public function isSourceCurrencyDisabled(): bool; |
@@ -17,7 +17,13 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyFilterType(string $field, string $type): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function specifyFilterValue(string $field, string $value): void; |
| 23 | 29 | } |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @throws ElementNotFoundException |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function chooseName(string $name): void; |
| 25 | 26 | |
@@ -17,15 +17,33 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function specifyFilterDateFrom(string $dateTime): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function specifyFilterDateTo(string $dateTime): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function chooseChannelFilter(string $channelName): void; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function chooseCurrencyFilter(string $currencyName): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 28 | 43 | public function specifyFilterTotalGreaterThan(string $total): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function specifyFilterTotalLessThan(string $total): void; |
| 31 | 49 | } |
@@ -26,18 +26,30 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | public function hasShipment(string $shippingMethodName): bool; |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 29 | 32 | public function specifyTrackingCode(string $code): void; |
| 30 | 33 | |
| 31 | 34 | public function canShipOrder(OrderInterface $order): bool; |
| 32 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 33 | 39 | public function shipOrder(OrderInterface $order): void; |
| 34 | 40 | |
| 35 | 41 | public function hasPayment(string $paymentMethodName): bool; |
| 36 | 42 | |
| 37 | 43 | public function canCompleteOrderLastPayment(OrderInterface $order): bool; |
| 38 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 39 | 48 | public function completeOrderLastPayment(OrderInterface $order): void; |
| 40 | 49 | |
| 50 | + /** |
|
| 51 | + * @return void |
|
| 52 | + */ |
|
| 41 | 53 | public function refundOrderLastPayment(OrderInterface $order): void; |
| 42 | 54 | |
| 43 | 55 | public function countItems(): int; |
@@ -90,8 +102,14 @@ discard block |
||
| 90 | 102 | |
| 91 | 103 | public function getShippingState(): string; |
| 92 | 104 | |
| 105 | + /** |
|
| 106 | + * @return void |
|
| 107 | + */ |
|
| 93 | 108 | public function cancelOrder(): void; |
| 94 | 109 | |
| 110 | + /** |
|
| 111 | + * @return void |
|
| 112 | + */ |
|
| 95 | 113 | public function deleteOrder(): void; |
| 96 | 114 | |
| 97 | 115 | public function hasNote(string $note): bool; |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | $this->specifyAddress($address, self::TYPE_SHIPPING); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $addressType |
|
| 38 | + */ |
|
| 36 | 39 | private function specifyAddress(AddressInterface $address, $addressType): void |
| 37 | 40 | { |
| 38 | 41 | $this->specifyElementValue($addressType . '_first_name', $address->getFirstName()); |