@@ -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()); |
@@ -18,8 +18,14 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function specifyShippingAddress(AddressInterface $address): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function specifyBillingAddress(AddressInterface $address): void; |
| 24 | 30 | |
| 25 | 31 | public function checkValidationMessageFor(string $element, string $message): bool; |
@@ -17,28 +17,64 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function nameIt(string $name, string $languageCode): void; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function specifyCode(string $code): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 28 | 43 | public function checkChannel(string $channelName): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function describeIt(string $description, string $languageCode): void; |
| 31 | 49 | |
| 50 | + /** |
|
| 51 | + * @return void |
|
| 52 | + */ |
|
| 32 | 53 | public function setInstructions(string $instructions, string $languageCode): void; |
| 33 | 54 | |
| 55 | + /** |
|
| 56 | + * @return void |
|
| 57 | + */ |
|
| 34 | 58 | public function setPaypalGatewayUsername(string $username): void; |
| 35 | 59 | |
| 60 | + /** |
|
| 61 | + * @return void |
|
| 62 | + */ |
|
| 36 | 63 | public function setPaypalGatewayPassword(string $password): void; |
| 37 | 64 | |
| 65 | + /** |
|
| 66 | + * @return void |
|
| 67 | + */ |
|
| 38 | 68 | public function setPaypalGatewaySignature(string $signature): void; |
| 39 | 69 | |
| 70 | + /** |
|
| 71 | + * @return void |
|
| 72 | + */ |
|
| 40 | 73 | public function setStripeSecretKey(string $secretKey): void; |
| 41 | 74 | |
| 75 | + /** |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 42 | 78 | public function setStripePublishableKey(string $publishableKey): void; |
| 43 | 79 | |
| 44 | 80 | public function isCodeDisabled(): bool; |