@@ -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; |
@@ -34,20 +34,46 @@ discard block |
||
34 | 34 | { |
35 | 35 | public function getUser(): ?UserInterface; |
36 | 36 | |
37 | + /** |
|
38 | + * @return AddressInterface|null |
|
39 | + */ |
|
37 | 40 | public function getShippingAddress(): ?AddressInterface; |
38 | 41 | |
42 | + /** |
|
43 | + * @param AddressInterface $address |
|
44 | + * |
|
45 | + * @return void |
|
46 | + */ |
|
39 | 47 | public function setShippingAddress(?AddressInterface $address): void; |
40 | 48 | |
49 | + /** |
|
50 | + * @return AddressInterface|null |
|
51 | + */ |
|
41 | 52 | public function getBillingAddress(): ?AddressInterface; |
42 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
43 | 57 | public function setBillingAddress(?AddressInterface $address): void; |
44 | 58 | |
59 | + /** |
|
60 | + * @return string |
|
61 | + */ |
|
45 | 62 | public function getCheckoutState(): ?string; |
46 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
47 | 67 | public function setCheckoutState(?string $checkoutState): void; |
48 | 68 | |
69 | + /** |
|
70 | + * @return string |
|
71 | + */ |
|
49 | 72 | public function getPaymentState(): ?string; |
50 | 73 | |
74 | + /** |
|
75 | + * @return void |
|
76 | + */ |
|
51 | 77 | public function setPaymentState(?string $paymentState): void; |
52 | 78 | |
53 | 79 | /** |
@@ -75,28 +101,63 @@ discard block |
||
75 | 101 | |
76 | 102 | public function hasShipments(): bool; |
77 | 103 | |
104 | + /** |
|
105 | + * @return void |
|
106 | + */ |
|
78 | 107 | public function addShipment(ShipmentInterface $shipment): void; |
79 | 108 | |
109 | + /** |
|
110 | + * @return void |
|
111 | + */ |
|
80 | 112 | public function removeShipment(ShipmentInterface $shipment): void; |
81 | 113 | |
114 | + /** |
|
115 | + * @return void |
|
116 | + */ |
|
82 | 117 | public function removeShipments(): void; |
83 | 118 | |
84 | 119 | public function hasShipment(ShipmentInterface $shipment): bool; |
85 | 120 | |
121 | + /** |
|
122 | + * @return string|null |
|
123 | + */ |
|
86 | 124 | public function getCurrencyCode(): ?string; |
87 | 125 | |
126 | + /** |
|
127 | + * @return void |
|
128 | + */ |
|
88 | 129 | public function setCurrencyCode(?string $currencyCode): void; |
89 | 130 | |
131 | + /** |
|
132 | + * @return string|null |
|
133 | + */ |
|
90 | 134 | public function getLocaleCode(): ?string; |
91 | 135 | |
136 | + /** |
|
137 | + * @return void |
|
138 | + */ |
|
92 | 139 | public function setLocaleCode(?string $localeCode): void; |
93 | 140 | |
141 | + /** |
|
142 | + * @param PromotionCouponInterface $coupon |
|
143 | + * |
|
144 | + * @return void |
|
145 | + */ |
|
94 | 146 | public function setPromotionCoupon(?BaseCouponInterface $coupon): void; |
95 | 147 | |
148 | + /** |
|
149 | + * @return string |
|
150 | + */ |
|
96 | 151 | public function getShippingState(): ?string; |
97 | 152 | |
153 | + /** |
|
154 | + * @return void |
|
155 | + */ |
|
98 | 156 | public function setShippingState(?string $state): void; |
99 | 157 | |
158 | + /** |
|
159 | + * @return PaymentInterface |
|
160 | + */ |
|
100 | 161 | public function getLastPayment(?string $state = null): ?PaymentInterface; |
101 | 162 | |
102 | 163 | public function getTaxTotal(): int; |
@@ -105,12 +166,24 @@ discard block |
||
105 | 166 | |
106 | 167 | public function getOrderPromotionTotal(): int; |
107 | 168 | |
169 | + /** |
|
170 | + * @return string|null |
|
171 | + */ |
|
108 | 172 | public function getTokenValue(): ?string; |
109 | 173 | |
174 | + /** |
|
175 | + * @return void |
|
176 | + */ |
|
110 | 177 | public function setTokenValue(?string $tokenValue): void; |
111 | 178 | |
179 | + /** |
|
180 | + * @return string|null |
|
181 | + */ |
|
112 | 182 | public function getCustomerIp(): ?string; |
113 | 183 | |
184 | + /** |
|
185 | + * @return void |
|
186 | + */ |
|
114 | 187 | public function setCustomerIp(?string $customerIp): void; |
115 | 188 | |
116 | 189 | /** |
@@ -27,48 +27,107 @@ discard block |
||
27 | 27 | CurrenciesAwareInterface, |
28 | 28 | LocalesAwareInterface |
29 | 29 | { |
30 | + /** |
|
31 | + * @return CurrencyInterface |
|
32 | + */ |
|
30 | 33 | public function getBaseCurrency(): ?CurrencyInterface; |
31 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
32 | 38 | public function setBaseCurrency(?CurrencyInterface $currency): void; |
33 | 39 | |
40 | + /** |
|
41 | + * @return LocaleInterface |
|
42 | + */ |
|
34 | 43 | public function getDefaultLocale(): ?LocaleInterface; |
35 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
36 | 48 | public function setDefaultLocale(?LocaleInterface $locale): void; |
37 | 49 | |
50 | + /** |
|
51 | + * @return ZoneInterface |
|
52 | + */ |
|
38 | 53 | public function getDefaultTaxZone(): ?ZoneInterface; |
39 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
40 | 58 | public function setDefaultTaxZone(?ZoneInterface $defaultTaxZone): void; |
41 | 59 | |
60 | + /** |
|
61 | + * @return string |
|
62 | + */ |
|
42 | 63 | public function getTaxCalculationStrategy(): ?string; |
43 | 64 | |
65 | + /** |
|
66 | + * @return void |
|
67 | + */ |
|
44 | 68 | public function setTaxCalculationStrategy(?string $taxCalculationStrategy): void; |
45 | 69 | |
70 | + /** |
|
71 | + * @return string |
|
72 | + */ |
|
46 | 73 | public function getThemeName(): ?string; |
47 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
48 | 78 | public function setThemeName(?string $themeName): void; |
49 | 79 | |
80 | + /** |
|
81 | + * @return string |
|
82 | + */ |
|
50 | 83 | public function getContactEmail(): ?string; |
51 | 84 | |
85 | + /** |
|
86 | + * @return void |
|
87 | + */ |
|
52 | 88 | public function setContactEmail(?string $contactEmail): void; |
53 | 89 | |
54 | 90 | public function isSkippingShippingStepAllowed(): bool; |
55 | 91 | |
92 | + /** |
|
93 | + * @return void |
|
94 | + */ |
|
56 | 95 | public function setSkippingShippingStepAllowed(bool $skippingShippingStepAllowed): void; |
57 | 96 | |
58 | 97 | public function isSkippingPaymentStepAllowed(): bool; |
59 | 98 | |
99 | + /** |
|
100 | + * @return void |
|
101 | + */ |
|
60 | 102 | public function setSkippingPaymentStepAllowed(bool $skippingPaymentStepAllowed): void; |
61 | 103 | |
62 | 104 | public function isAccountVerificationRequired(): bool; |
63 | 105 | |
106 | + /** |
|
107 | + * @return void |
|
108 | + */ |
|
64 | 109 | public function setAccountVerificationRequired(bool $accountVerificationRequired): void; |
65 | 110 | |
111 | + /** |
|
112 | + * @return ShopBillingDataInterface|null |
|
113 | + */ |
|
66 | 114 | public function getShopBillingData(): ?ShopBillingDataInterface; |
67 | 115 | |
116 | + /** |
|
117 | + * @return void |
|
118 | + */ |
|
68 | 119 | public function setShopBillingData(ShopBillingDataInterface $shopBillingData): void; |
69 | 120 | |
121 | + /** |
|
122 | + * @return TaxonInterface|null |
|
123 | + */ |
|
70 | 124 | public function getMenuTaxon(): ?TaxonInterface; |
71 | 125 | |
126 | + /** |
|
127 | + * @param TaxonInterface $menuTaxon |
|
128 | + * |
|
129 | + * @return void |
|
130 | + */ |
|
72 | 131 | public function setMenuTaxon(?TaxonInterface $menuTaxon): void; |
73 | 132 | |
74 | 133 | /** |
@@ -78,8 +137,14 @@ discard block |
||
78 | 137 | */ |
79 | 138 | public function getCountries(): Collection; |
80 | 139 | |
140 | + /** |
|
141 | + * @return void |
|
142 | + */ |
|
81 | 143 | public function addCountry(CountryInterface $country): void; |
82 | 144 | |
145 | + /** |
|
146 | + * @return void |
|
147 | + */ |
|
83 | 148 | public function removeCountry(CountryInterface $country): void; |
84 | 149 | |
85 | 150 | public function hasCountry(CountryInterface $country): bool; |
@@ -17,40 +17,91 @@ |
||
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): 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 describeItAs(string $description): void; |
29 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
30 | 48 | public function setHostname(string $hostname): void; |
31 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
32 | 53 | public function setContactEmail(string $contactEmail): void; |
33 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
34 | 58 | public function defineColor(string $color): void; |
35 | 59 | |
60 | + /** |
|
61 | + * @return void |
|
62 | + */ |
|
36 | 63 | public function chooseLocale(string $language): void; |
37 | 64 | |
65 | + /** |
|
66 | + * @return void |
|
67 | + */ |
|
38 | 68 | public function chooseCurrency(string $currencyCode): void; |
39 | 69 | |
70 | + /** |
|
71 | + * @return void |
|
72 | + */ |
|
40 | 73 | public function chooseDefaultTaxZone(string $taxZone): void; |
41 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
42 | 78 | public function chooseDefaultLocale(?string $locale): void; |
43 | 79 | |
44 | 80 | /** @param string[] $countries */ |
45 | 81 | public function chooseOperatingCountries(array $countries): void; |
46 | 82 | |
83 | + /** |
|
84 | + * @return void |
|
85 | + */ |
|
47 | 86 | public function chooseBaseCurrency(?string $currency): void; |
48 | 87 | |
88 | + /** |
|
89 | + * @return void |
|
90 | + */ |
|
49 | 91 | public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void; |
50 | 92 | |
93 | + /** |
|
94 | + * @return void |
|
95 | + */ |
|
51 | 96 | public function allowToSkipShippingStep(): void; |
52 | 97 | |
98 | + /** |
|
99 | + * @return void |
|
100 | + */ |
|
53 | 101 | public function allowToSkipPaymentStep(): void; |
54 | 102 | |
103 | + /** |
|
104 | + * @return void |
|
105 | + */ |
|
55 | 106 | public function specifyMenuTaxon(string $menuTaxon): void; |
56 | 107 | } |
@@ -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; |
@@ -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; |