@@ -19,8 +19,14 @@ |
||
19 | 19 | { |
20 | 20 | public function hasPayAction(): bool; |
21 | 21 | |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function pay(): void; |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function choosePaymentMethod(string $paymentMethodName): void; |
25 | 31 | |
26 | 32 | public function getNotifications(): array; |
@@ -17,8 +17,14 @@ discard block |
||
17 | 17 | |
18 | 18 | interface ThankYouPageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function goToTheChangePaymentMethodPage(): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function goToOrderDetailsInAccount(): void; |
23 | 29 | |
24 | 30 | public function hasThankYouMessage(): bool; |
@@ -31,5 +37,8 @@ discard block |
||
31 | 37 | |
32 | 38 | public function hasRegistrationButton(): bool; |
33 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
34 | 43 | public function createAccount(): void; |
35 | 44 | } |
@@ -18,48 +18,93 @@ |
||
18 | 18 | |
19 | 19 | interface AddressPageInterface extends SymfonyPageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function chooseDifferentShippingAddress(): void; |
22 | 25 | |
23 | 26 | public function checkInvalidCredentialsValidation(): bool; |
24 | 27 | |
25 | 28 | public function checkValidationMessageFor(string $element, string $message): bool; |
26 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
27 | 33 | public function specifyShippingAddress(AddressInterface $shippingAddress): void; |
28 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
29 | 38 | public function selectShippingAddressProvince(string $province): void; |
30 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
31 | 43 | public function specifyBillingAddress(AddressInterface $billingAddress): void; |
32 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
33 | 48 | public function selectBillingAddressProvince(string $province): void; |
34 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
35 | 53 | public function specifyEmail(?string $email): void; |
36 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
37 | 58 | public function specifyBillingAddressFullName(string $fullName): void; |
38 | 59 | |
39 | 60 | public function canSignIn(): bool; |
40 | 61 | |
62 | + /** |
|
63 | + * @return void |
|
64 | + */ |
|
41 | 65 | public function signIn(): void; |
42 | 66 | |
67 | + /** |
|
68 | + * @return void |
|
69 | + */ |
|
43 | 70 | public function specifyPassword(string $password): void; |
44 | 71 | |
45 | 72 | public function getItemSubtotal(string $itemName): string; |
46 | 73 | |
47 | 74 | public function getShippingAddressCountry(): string; |
48 | 75 | |
76 | + /** |
|
77 | + * @return void |
|
78 | + */ |
|
49 | 79 | public function nextStep(): void; |
50 | 80 | |
81 | + /** |
|
82 | + * @return void |
|
83 | + */ |
|
51 | 84 | public function backToStore(): void; |
52 | 85 | |
86 | + /** |
|
87 | + * @return void |
|
88 | + */ |
|
53 | 89 | public function specifyBillingAddressProvince(string $provinceName): void; |
54 | 90 | |
91 | + /** |
|
92 | + * @return void |
|
93 | + */ |
|
55 | 94 | public function specifyShippingAddressProvince(string $provinceName): void; |
56 | 95 | |
57 | 96 | public function hasShippingAddressInput(): bool; |
58 | 97 | |
59 | 98 | public function hasBillingAddressInput(): bool; |
60 | 99 | |
100 | + /** |
|
101 | + * @return void |
|
102 | + */ |
|
61 | 103 | public function selectShippingAddressFromAddressBook(AddressInterface $address): void; |
62 | 104 | |
105 | + /** |
|
106 | + * @return void |
|
107 | + */ |
|
63 | 108 | public function selectBillingAddressFromAddressBook(AddressInterface $address): void; |
64 | 109 | |
65 | 110 | public function getPreFilledShippingAddress(): AddressInterface; |
@@ -17,19 +17,51 @@ |
||
17 | 17 | |
18 | 18 | interface UserOAuthInterface extends UserAwareInterface, ResourceInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return string|null |
|
22 | + */ |
|
20 | 23 | public function getProvider(): ?string; |
21 | 24 | |
25 | + /** |
|
26 | + * @param string $provider |
|
27 | + * |
|
28 | + * @return void |
|
29 | + */ |
|
22 | 30 | public function setProvider(?string $provider): void; |
23 | 31 | |
32 | + /** |
|
33 | + * @return string|null |
|
34 | + */ |
|
24 | 35 | public function getIdentifier(): ?string; |
25 | 36 | |
37 | + /** |
|
38 | + * @param string $identifier |
|
39 | + * |
|
40 | + * @return void |
|
41 | + */ |
|
26 | 42 | public function setIdentifier(?string $identifier): void; |
27 | 43 | |
44 | + /** |
|
45 | + * @return string|null |
|
46 | + */ |
|
28 | 47 | public function getAccessToken(): ?string; |
29 | 48 | |
49 | + /** |
|
50 | + * @param string $accessToken |
|
51 | + * |
|
52 | + * @return void |
|
53 | + */ |
|
30 | 54 | public function setAccessToken(?string $accessToken): void; |
31 | 55 | |
56 | + /** |
|
57 | + * @return string|null |
|
58 | + */ |
|
32 | 59 | public function getRefreshToken(): ?string; |
33 | 60 | |
61 | + /** |
|
62 | + * @param string|null $refreshToken |
|
63 | + * |
|
64 | + * @return void |
|
65 | + */ |
|
34 | 66 | public function setRefreshToken(?string $refreshToken): void; |
35 | 67 | } |
@@ -18,23 +18,45 @@ discard block |
||
18 | 18 | |
19 | 19 | interface UpdatePageInterface extends BaseUpdatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function enable(): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function disable(): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
25 | 34 | public function setTheme(string $themeName): void; |
26 | 35 | |
27 | 36 | /** |
28 | 37 | * @throws ElementNotFoundException |
38 | + * @return void |
|
29 | 39 | */ |
30 | 40 | public function unsetTheme(): void; |
31 | 41 | |
42 | + /** |
|
43 | + * @return void |
|
44 | + */ |
|
32 | 45 | public function chooseLocale(string $language): void; |
33 | 46 | |
47 | + /** |
|
48 | + * @return void |
|
49 | + */ |
|
34 | 50 | public function chooseCurrency(string $currencyCode): void; |
35 | 51 | |
52 | + /** |
|
53 | + * @return void |
|
54 | + */ |
|
36 | 55 | public function chooseDefaultTaxZone(string $taxZone): void; |
37 | 56 | |
57 | + /** |
|
58 | + * @return void |
|
59 | + */ |
|
38 | 60 | public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void; |
39 | 61 | |
40 | 62 | public function isCodeDisabled(): bool; |
@@ -51,6 +73,9 @@ discard block |
||
51 | 73 | |
52 | 74 | public function isBaseCurrencyDisabled(): bool; |
53 | 75 | |
76 | + /** |
|
77 | + * @return void |
|
78 | + */ |
|
54 | 79 | public function changeMenuTaxon(string $menuTaxon): void; |
55 | 80 | |
56 | 81 | public function getMenuTaxon(): string; |
@@ -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; |
@@ -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 | } |