@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @throws \RuntimeException |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function chooseDifferentBillingAddress(); |
28 | 29 | |
@@ -41,21 +42,25 @@ discard block |
||
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param AddressInterface $billingAddress |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function specifyBillingAddress(AddressInterface $billingAddress); |
46 | 48 | |
47 | 49 | /** |
48 | 50 | * @param string $province |
51 | + * @return void |
|
49 | 52 | */ |
50 | 53 | public function selectBillingAddressProvince($province); |
51 | 54 | |
52 | 55 | /** |
53 | 56 | * @param AddressInterface $shippingAddress |
57 | + * @return void |
|
54 | 58 | */ |
55 | 59 | public function specifyShippingAddress(AddressInterface $shippingAddress); |
56 | 60 | |
57 | 61 | /** |
58 | 62 | * @param string $province |
63 | + * @return void |
|
59 | 64 | */ |
60 | 65 | public function selectShippingAddressProvince($province); |
61 | 66 | |
@@ -64,20 +69,26 @@ discard block |
||
64 | 69 | */ |
65 | 70 | public function canSignIn(); |
66 | 71 | |
72 | + /** |
|
73 | + * @return void |
|
74 | + */ |
|
67 | 75 | public function signIn(); |
68 | 76 | |
69 | 77 | /** |
70 | 78 | * @param string $email |
79 | + * @return void |
|
71 | 80 | */ |
72 | 81 | public function specifyEmail($email); |
73 | 82 | |
74 | 83 | /** |
75 | 84 | * @param string $fullName |
85 | + * @return void |
|
76 | 86 | */ |
77 | 87 | public function specifyShippingAddressFullName(string $fullName); |
78 | 88 | |
79 | 89 | /** |
80 | 90 | * @param string $password |
91 | + * @return void |
|
81 | 92 | */ |
82 | 93 | public function specifyPassword($password); |
83 | 94 | |
@@ -93,17 +104,25 @@ discard block |
||
93 | 104 | */ |
94 | 105 | public function getShippingAddressCountry(); |
95 | 106 | |
107 | + /** |
|
108 | + * @return void |
|
109 | + */ |
|
96 | 110 | public function nextStep(); |
97 | 111 | |
112 | + /** |
|
113 | + * @return void |
|
114 | + */ |
|
98 | 115 | public function backToStore(); |
99 | 116 | |
100 | 117 | /** |
101 | 118 | * @param string $provinceName |
119 | + * @return void |
|
102 | 120 | */ |
103 | 121 | public function specifyBillingAddressProvince($provinceName); |
104 | 122 | |
105 | 123 | /** |
106 | 124 | * @param string $provinceName |
125 | + * @return void |
|
107 | 126 | */ |
108 | 127 | public function specifyShippingAddressProvince($provinceName); |
109 | 128 | |
@@ -119,11 +138,13 @@ discard block |
||
119 | 138 | |
120 | 139 | /** |
121 | 140 | * @param AddressInterface $address |
141 | + * @return void |
|
122 | 142 | */ |
123 | 143 | public function selectShippingAddressFromAddressBook(AddressInterface $address); |
124 | 144 | |
125 | 145 | /** |
126 | 146 | * @param AddressInterface $address |
147 | + * @return void |
|
127 | 148 | */ |
128 | 149 | public function selectBillingAddressFromAddressBook(AddressInterface $address); |
129 | 150 |
@@ -24,6 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | /** |
26 | 26 | * @param string $customerName |
27 | + * @return boolean |
|
27 | 28 | */ |
28 | 29 | public function hasCustomer($customerName); |
29 | 30 | |
@@ -58,6 +59,7 @@ discard block |
||
58 | 59 | |
59 | 60 | /** |
60 | 61 | * @param string $code |
62 | + * @return void |
|
61 | 63 | */ |
62 | 64 | public function specifyTrackingCode($code); |
63 | 65 | |
@@ -70,6 +72,7 @@ discard block |
||
70 | 72 | |
71 | 73 | /** |
72 | 74 | * @param OrderInterface $order |
75 | + * @return void |
|
73 | 76 | */ |
74 | 77 | public function shipOrder(OrderInterface $order); |
75 | 78 | |
@@ -89,11 +92,13 @@ discard block |
||
89 | 92 | |
90 | 93 | /** |
91 | 94 | * @param OrderInterface $order |
95 | + * @return void |
|
92 | 96 | */ |
93 | 97 | public function completeOrderLastPayment(OrderInterface $order); |
94 | 98 | |
95 | 99 | /** |
96 | 100 | * @param OrderInterface $order |
101 | + * @return void |
|
97 | 102 | */ |
98 | 103 | public function refundOrderLastPayment(OrderInterface $order); |
99 | 104 | |
@@ -253,8 +258,14 @@ discard block |
||
253 | 258 | */ |
254 | 259 | public function getShippingState(); |
255 | 260 | |
261 | + /** |
|
262 | + * @return void |
|
263 | + */ |
|
256 | 264 | public function cancelOrder(); |
257 | 265 | |
266 | + /** |
|
267 | + * @return void |
|
268 | + */ |
|
258 | 269 | public function deleteOrder(); |
259 | 270 | |
260 | 271 | /** |
@@ -21,6 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param ResourceInterface $resource |
23 | 23 | * @param RepositoryInterface $repository |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function handle(ResourceInterface $resource, RepositoryInterface $repository): void; |
26 | 27 | } |
@@ -35,11 +35,13 @@ |
||
35 | 35 | /** |
36 | 36 | * @param ChannelInterface $channel |
37 | 37 | * @param OrderInterface $cart |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void; |
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param ChannelInterface $channel |
44 | + * @return void |
|
43 | 45 | */ |
44 | 46 | public function removeForChannel(ChannelInterface $channel): void; |
45 | 47 | } |
@@ -22,11 +22,13 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param OrderInterface $order |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function assignTokenValue(OrderInterface $order): void; |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param OrderInterface $order |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | public function assignTokenValueIfNotSet(OrderInterface $order): void; |
32 | 34 | } |
@@ -28,6 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param string|null $provider |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setProvider(?string $provider): void; |
33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param string|null $identifier |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function setIdentifier(?string $identifier): void; |
43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
48 | 50 | |
49 | 51 | /** |
50 | 52 | * @param string|null $accessToken |
53 | + * @return void |
|
51 | 54 | */ |
52 | 55 | public function setAccessToken(?string $accessToken): void; |
53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
58 | 61 | |
59 | 62 | /** |
60 | 63 | * @param string|null $refreshToken |
64 | + * @return void |
|
61 | 65 | */ |
62 | 66 | public function setRefreshToken(?string $refreshToken): void; |
63 | 67 | } |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setName(?string $name): void; |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | |
46 | 47 | /** |
47 | 48 | * @param int $position |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function setPosition(?int $position): void; |
50 | 52 | |
@@ -55,11 +57,13 @@ discard block |
||
55 | 57 | |
56 | 58 | /** |
57 | 59 | * @param ProductOptionValueInterface $optionValue |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function addValue(ProductOptionValueInterface $optionValue): void; |
60 | 63 | |
61 | 64 | /** |
62 | 65 | * @param ProductOptionValueInterface $optionValue |
66 | + * @return void |
|
63 | 67 | */ |
64 | 68 | public function removeValue(ProductOptionValueInterface $optionValue): void; |
65 | 69 |
@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * {@inheritdoc} |
47 | + * @param string $addressType |
|
47 | 48 | */ |
48 | 49 | private function specifyAddress(AddressInterface $address, $addressType) |
49 | 50 | { |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param int|null $priority |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setPriority($priority); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param string $name |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function nameIt($name); |
38 | 40 | |
@@ -50,35 +52,47 @@ discard block |
||
50 | 52 | |
51 | 53 | /** |
52 | 54 | * @param string $limit |
55 | + * @return void |
|
53 | 56 | */ |
54 | 57 | public function fillUsageLimit($limit); |
55 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
56 | 62 | public function makeExclusive(); |
57 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
58 | 67 | public function checkCouponBased(); |
59 | 68 | |
60 | 69 | /** |
61 | 70 | * @param string $name |
71 | + * @return void |
|
62 | 72 | */ |
63 | 73 | public function checkChannel($name); |
64 | 74 | |
65 | 75 | /** |
66 | 76 | * @param \DateTimeInterface $dateTime |
77 | + * @return void |
|
67 | 78 | */ |
68 | 79 | public function setStartsAt(\DateTimeInterface $dateTime); |
69 | 80 | |
70 | 81 | /** |
71 | 82 | * @param \DateTimeInterface $dateTime |
83 | + * @return void |
|
72 | 84 | */ |
73 | 85 | public function setEndsAt(\DateTimeInterface $dateTime); |
74 | 86 | |
75 | 87 | /** |
76 | 88 | * {@inheritdoc} |
89 | + * @return boolean |
|
77 | 90 | */ |
78 | 91 | public function hasStartsAt(\DateTimeInterface $dateTime); |
79 | 92 | |
80 | 93 | /** |
81 | 94 | * {@inheritdoc} |
95 | + * @return boolean |
|
82 | 96 | */ |
83 | 97 | public function hasEndsAt(\DateTimeInterface $dateTime); |
84 | 98 | } |