@@ -17,27 +17,63 @@ |
||
17 | 17 | |
18 | 18 | interface ShopBillingDataInterface extends ResourceInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return string|null |
|
22 | + */ |
|
20 | 23 | public function getTaxId(): ?string; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function setTaxId(?string $taxId): void; |
23 | 29 | |
30 | + /** |
|
31 | + * @return string|null |
|
32 | + */ |
|
24 | 33 | public function getCompany(): ?string; |
25 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
26 | 38 | public function setCompany(?string $company): void; |
27 | 39 | |
40 | + /** |
|
41 | + * @return string|null |
|
42 | + */ |
|
28 | 43 | public function getCountryCode(): ?string; |
29 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
30 | 48 | public function setCountryCode(?string $countryCode): void; |
31 | 49 | |
50 | + /** |
|
51 | + * @return string|null |
|
52 | + */ |
|
32 | 53 | public function getStreet(): ?string; |
33 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
34 | 58 | public function setStreet(?string $street): void; |
35 | 59 | |
60 | + /** |
|
61 | + * @return string|null |
|
62 | + */ |
|
36 | 63 | public function getCity(): ?string; |
37 | 64 | |
65 | + /** |
|
66 | + * @return void |
|
67 | + */ |
|
38 | 68 | public function setCity(?string $city): void; |
39 | 69 | |
70 | + /** |
|
71 | + * @return string|null |
|
72 | + */ |
|
40 | 73 | public function getPostcode(): ?string; |
41 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
42 | 78 | public function setPostcode(?string $postcode): void; |
43 | 79 | } |
@@ -27,12 +27,24 @@ discard block |
||
27 | 27 | |
28 | 28 | public const STATE_CANCELLED = 'cancelled'; |
29 | 29 | |
30 | + /** |
|
31 | + * @return string |
|
32 | + */ |
|
30 | 33 | public function getState(): ?string; |
31 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
32 | 38 | public function setState(?string $state): void; |
33 | 39 | |
40 | + /** |
|
41 | + * @return ShippingMethodInterface|null |
|
42 | + */ |
|
34 | 43 | public function getMethod(): ?ShippingMethodInterface; |
35 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
36 | 48 | public function setMethod(?ShippingMethodInterface $method): void; |
37 | 49 | |
38 | 50 | /** |
@@ -42,19 +54,39 @@ discard block |
||
42 | 54 | */ |
43 | 55 | public function getUnits(): Collection; |
44 | 56 | |
57 | + /** |
|
58 | + * @return void |
|
59 | + */ |
|
45 | 60 | public function addUnit(ShipmentUnitInterface $unit): void; |
46 | 61 | |
62 | + /** |
|
63 | + * @return void |
|
64 | + */ |
|
47 | 65 | public function removeUnit(ShipmentUnitInterface $unit): void; |
48 | 66 | |
49 | 67 | public function hasUnit(ShipmentUnitInterface $unit): bool; |
50 | 68 | |
69 | + /** |
|
70 | + * @return string|null |
|
71 | + */ |
|
51 | 72 | public function getTracking(): ?string; |
52 | 73 | |
74 | + /** |
|
75 | + * @return void |
|
76 | + */ |
|
53 | 77 | public function setTracking(?string $tracking): void; |
54 | 78 | |
55 | 79 | public function isTracked(): bool; |
56 | 80 | |
81 | + /** |
|
82 | + * @return \DateTimeInterface|null |
|
83 | + */ |
|
57 | 84 | public function getShippedAt(): ?\DateTimeInterface; |
58 | 85 | |
86 | + /** |
|
87 | + * @param \DateTimeInterface $shippedAt |
|
88 | + * |
|
89 | + * @return void |
|
90 | + */ |
|
59 | 91 | public function setShippedAt(?\DateTimeInterface $shippedAt): void; |
60 | 92 | } |
@@ -25,5 +25,8 @@ |
||
25 | 25 | |
26 | 26 | public function hasResendVerificationEmailButton(): bool; |
27 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
28 | 31 | public function pressResendVerificationEmail(): void; |
29 | 32 | } |
@@ -15,12 +15,24 @@ |
||
15 | 15 | |
16 | 16 | interface ApiSecurityClientInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function prepareLoginRequest(): void; |
19 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
20 | 26 | public function setEmail(string $email): void; |
21 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
22 | 31 | public function setPassword(string $password): void; |
23 | 32 | |
33 | + /** |
|
34 | + * @return void |
|
35 | + */ |
|
24 | 36 | public function call(): void; |
25 | 37 | |
26 | 38 | public function isLoggedIn(): bool; |
@@ -21,9 +21,13 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @throws \InvalidArgumentException |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function logIn(UserInterface $user): void; |
26 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
27 | 31 | public function logOut(): void; |
28 | 32 | |
29 | 33 | /** |
@@ -31,5 +35,8 @@ discard block |
||
31 | 35 | */ |
32 | 36 | public function getCurrentToken(): TokenInterface; |
33 | 37 | |
38 | + /** |
|
39 | + * @return void |
|
40 | + */ |
|
34 | 41 | public function restoreToken(TokenInterface $token): void; |
35 | 42 | } |
@@ -36,13 +36,13 @@ |
||
36 | 36 | /** @param string|int $value */ |
37 | 37 | public function hasValue(Response $response, string $key, $value): bool; |
38 | 38 | |
39 | - /** @param string|int $value */ |
|
39 | + /** @param string $value */ |
|
40 | 40 | public function hasValueInCollection(Response $response, string $key, $value): bool; |
41 | 41 | |
42 | 42 | /** @param string|int $value */ |
43 | 43 | public function hasItemWithValue(Response $response, string $key, $value): bool; |
44 | 44 | |
45 | - /** @param string|array $value */ |
|
45 | + /** @param string $value */ |
|
46 | 46 | public function hasItemOnPositionWithValue(Response $response, int $position, string $key, $value): bool; |
47 | 47 | |
48 | 48 | public function hasItemWithTranslation(Response $response, string $locale, string $key, string $translation): bool; |
@@ -86,6 +86,9 @@ |
||
86 | 86 | } |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param FirewallConfig $firewall |
|
91 | + */ |
|
89 | 92 | private function isFirewallSupported(?FirewallConfig $firewall = null): bool |
90 | 93 | { |
91 | 94 | return |
@@ -62,6 +62,7 @@ |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * {@inheritdoc} |
65 | + * @param string $code |
|
65 | 66 | */ |
66 | 67 | public function setCode(?string $code): void |
67 | 68 | { |
@@ -27,48 +27,105 @@ 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 | + * @return void |
|
128 | + */ |
|
72 | 129 | public function setMenuTaxon(?TaxonInterface $menuTaxon): void; |
73 | 130 | |
74 | 131 | /** |
@@ -78,8 +135,14 @@ discard block |
||
78 | 135 | */ |
79 | 136 | public function getCountries(): Collection; |
80 | 137 | |
138 | + /** |
|
139 | + * @return void |
|
140 | + */ |
|
81 | 141 | public function addCountry(CountryInterface $country): void; |
82 | 142 | |
143 | + /** |
|
144 | + * @return void |
|
145 | + */ |
|
83 | 146 | public function removeCountry(CountryInterface $country): void; |
84 | 147 | |
85 | 148 | public function hasCountry(CountryInterface $country): bool; |