@@ -28,18 +28,30 @@ discard block |
||
28 | 28 | |
29 | 29 | public function hasShipment(string $shippingMethodName): bool; |
30 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
31 | 34 | public function specifyTrackingCode(string $code): void; |
32 | 35 | |
33 | 36 | public function canShipOrder(OrderInterface $order): bool; |
34 | 37 | |
38 | + /** |
|
39 | + * @return void |
|
40 | + */ |
|
35 | 41 | public function shipOrder(OrderInterface $order): void; |
36 | 42 | |
37 | 43 | public function hasPayment(string $paymentMethodName): bool; |
38 | 44 | |
39 | 45 | public function canCompleteOrderLastPayment(OrderInterface $order): bool; |
40 | 46 | |
47 | + /** |
|
48 | + * @return void |
|
49 | + */ |
|
41 | 50 | public function completeOrderLastPayment(OrderInterface $order): void; |
42 | 51 | |
52 | + /** |
|
53 | + * @return void |
|
54 | + */ |
|
43 | 55 | public function refundOrderLastPayment(OrderInterface $order): void; |
44 | 56 | |
45 | 57 | public function countItems(): int; |
@@ -94,8 +106,14 @@ discard block |
||
94 | 106 | |
95 | 107 | public function getShippingState(): string; |
96 | 108 | |
109 | + /** |
|
110 | + * @return void |
|
111 | + */ |
|
97 | 112 | public function cancelOrder(): void; |
98 | 113 | |
114 | + /** |
|
115 | + * @return void |
|
116 | + */ |
|
99 | 117 | public function deleteOrder(): void; |
100 | 118 | |
101 | 119 | public function hasNote(string $note): bool; |
@@ -116,8 +134,14 @@ discard block |
||
116 | 134 | |
117 | 135 | public function hasInformationAboutNoPayment(): bool; |
118 | 136 | |
137 | + /** |
|
138 | + * @return void |
|
139 | + */ |
|
119 | 140 | public function resendOrderConfirmationEmail(): void; |
120 | 141 | |
142 | + /** |
|
143 | + * @return void |
|
144 | + */ |
|
121 | 145 | public function resendShipmentConfirmationEmail(): void; |
122 | 146 | |
123 | 147 | public function getShippedAtDate(): string; |
@@ -17,18 +17,33 @@ |
||
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 chooseChannelFilter(string $channelName): void; |
23 | 29 | |
24 | 30 | public function isShipmentWithOrderNumberInPosition(string $orderNumber, int $position): bool; |
25 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
26 | 35 | public function shipShipmentOfOrderWithNumber(string $orderNumber): void; |
27 | 36 | |
28 | 37 | public function getShipmentStatusByOrderNumber(string $orderNumber): string; |
29 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
30 | 42 | public function showOrderPageForNthShipment(int $position): void; |
31 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
32 | 47 | public function shipShipmentOfOrderWithTrackingCode(string $orderNumber, string $trackingCode): void; |
33 | 48 | |
34 | 49 | public function getShippedAtDate(string $orderNumber): string; |
@@ -18,10 +18,19 @@ |
||
18 | 18 | |
19 | 19 | interface CreatePageInterface extends SymfonyPageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function fillAddressData(AddressInterface $address): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function selectCountry(string $name): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
25 | 34 | public function addAddress(): void; |
26 | 35 | |
27 | 36 | public function hasProvinceValidationMessage(): bool; |
@@ -32,9 +32,18 @@ |
||
32 | 32 | |
33 | 33 | public function addressOfContains(string $fullName, string $value): bool; |
34 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
35 | 38 | public function editAddress(string $fullName): void; |
36 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
37 | 43 | public function deleteAddress(string $fullName): void; |
38 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
39 | 48 | public function setAsDefault(string $fullName): void; |
40 | 49 | } |
@@ -17,17 +17,32 @@ |
||
17 | 17 | |
18 | 18 | interface UpdatePageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function fillField(string $field, ?string $value): void; |
21 | 24 | |
22 | 25 | public function getSpecifiedProvince(): string; |
23 | 26 | |
24 | 27 | public function getSelectedProvince(): string; |
25 | 28 | |
29 | + /** |
|
30 | + * @return void |
|
31 | + */ |
|
26 | 32 | public function specifyProvince(string $name): void; |
27 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
28 | 37 | public function selectProvince(string $name): void; |
29 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
30 | 42 | public function selectCountry(string $name): void; |
31 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
32 | 47 | public function saveChanges(): void; |
33 | 48 | } |
@@ -18,10 +18,19 @@ |
||
18 | 18 | |
19 | 19 | interface ChangePasswordPageInterface extends PageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function specifyCurrentPassword(string $password): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function specifyNewPassword(string $password): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
25 | 34 | public function specifyConfirmationPassword(string $password): void; |
26 | 35 | |
27 | 36 | /** |
@@ -24,5 +24,8 @@ |
||
24 | 24 | |
25 | 25 | public function isItPossibleToChangePaymentMethodForOrder(OrderInterface $order): bool; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function openLastOrderPage(): void; |
28 | 31 | } |
@@ -18,12 +18,24 @@ discard block |
||
18 | 18 | |
19 | 19 | interface ProfileUpdatePageInterface extends PageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function specifyFirstName(?string $firstName): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function specifyLastName(?string $lastName): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
25 | 34 | public function specifyEmail(?string $email): void; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function saveChanges(): void; |
28 | 40 | |
29 | 41 | /** |
@@ -31,6 +43,9 @@ discard block |
||
31 | 43 | */ |
32 | 44 | public function checkValidationMessageFor(string $element, string $message): bool; |
33 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
34 | 49 | public function subscribeToTheNewsletter(): void; |
35 | 50 | |
36 | 51 | public function isSubscribedToTheNewsletter(): bool; |
@@ -21,17 +21,38 @@ |
||
21 | 21 | |
22 | 22 | public function checkValidationMessageFor(string $element, string $message): bool; |
23 | 23 | |
24 | + /** |
|
25 | + * @return void |
|
26 | + */ |
|
24 | 27 | public function register(): void; |
25 | 28 | |
29 | + /** |
|
30 | + * @return void |
|
31 | + */ |
|
26 | 32 | public function specifyEmail(string $email): void; |
27 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
28 | 37 | public function specifyFirstName(string $firstName): void; |
29 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
30 | 42 | public function specifyPassword(string $password): void; |
31 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
32 | 47 | public function specifyPhoneNumber(string $phoneNumber): void; |
33 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
34 | 52 | public function verifyPassword(string $password): void; |
35 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
36 | 57 | public function subscribeToTheNewsletter(): void; |
37 | 58 | } |