@@ -17,6 +17,9 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function nameIt(string $name): void; |
| 21 | 24 | |
| 22 | 25 | public function isCodeDisabled(): bool; |
@@ -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 | } |
@@ -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()); |