1 | <?php |
||
5 | class Partner extends Base implements PartnerInterface |
||
6 | { |
||
7 | private $mappingClasses; |
||
8 | |||
9 | /** |
||
10 | * {@inheritdoc} |
||
11 | */ |
||
12 | public function getName() |
||
16 | 4 | ||
17 | /** |
||
18 | * Gets Venture service. |
||
19 | * @return \Iris\Interfaces\IrisVenture |
||
20 | */ |
||
21 | public function getVentureService() |
||
25 | 3 | ||
26 | /** |
||
27 | * Gets Stock service. |
||
28 | * @return \Iris\Interfaces\Stock |
||
29 | */ |
||
30 | public function getStockService() |
||
34 | 2 | ||
35 | /** |
||
36 | * Gets Stock service. |
||
37 | * @return \Iris\Interfaces\Catalog |
||
38 | */ |
||
39 | public function getCatalogService() |
||
43 | 2 | ||
44 | 2 | ||
45 | //order |
||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | 1 | public function isVentureItem(\Iris\Transfer\Sales\Order\Item $item) |
|
56 | 1 | ||
57 | /** |
||
58 | 1 | * {@inheritdoc} |
|
59 | */ |
||
60 | 1 | public function sendOrderToVenture( |
|
67 | |||
68 | 1 | /** |
|
69 | 1 | * {@inheritdoc} |
|
70 | */ |
||
71 | public function dropReserveAndUpdateStock( |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | public function confirmOrderPaidOnVenture( |
||
93 | |||
94 | 1 | /** |
|
95 | * {@inheritdoc} |
||
96 | 1 | */ |
|
97 | 1 | public function confirmOrderFromVenture(array $orderData, $ventureCode) |
|
102 | |||
103 | 1 | /** |
|
104 | * {@inheritdoc} |
||
105 | 1 | */ |
|
106 | 1 | public function cancelOrderOnVenture( |
|
116 | |||
117 | /** |
||
118 | * {@inheritdoc} |
||
119 | */ |
||
120 | public function cancelOrderFromVenture($orderNr, $ventureCode) |
||
129 | 1 | ||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | public function bindVentureOrder($orderNr, $ventureCode, $ventureorderNr) |
||
142 | |||
143 | /** |
||
144 | * Gets an specific mapping classs |
||
145 | * |
||
146 | * @param string $mappingName |
||
147 | */ |
||
148 | public function getMapping($mappingName) |
||
157 | |||
158 | /** |
||
159 | * Set an specific mapping classs |
||
160 | * |
||
161 | * @param string $mappingName |
||
162 | * @param $mappingClass |
||
163 | * @return \Iris\SaleWrapper\Partner |
||
164 | */ |
||
165 | public function setMapping($mappingName, $mappingClass) |
||
170 | |||
171 | //post payment |
||
172 | /** |
||
173 | * {@inheritdoc} |
||
174 | */ |
||
175 | public function setOrderStatusToShippedFromVenture(array $postPaymentData) |
||
188 | |||
189 | /** |
||
190 | * {@inheritdoc} |
||
191 | */ |
||
192 | public function setOrderStatusToDeliveredFromVenture( |
||
199 | |||
200 | /** |
||
201 | * {@inheritdoc} |
||
202 | */ |
||
203 | public function setOrderStatusToDeliveryFailedFromVenture( |
||
211 | |||
212 | //products |
||
213 | /** |
||
214 | * {@inheritdoc} |
||
215 | */ |
||
216 | public function updatePriceFromVenture(array $productsData, $ventureCode) |
||
221 | |||
222 | /** |
||
223 | * {@inheritdoc} |
||
224 | */ |
||
225 | public function updateStockFromVenture(array $productsData, $ventureCode) |
||
232 | |||
233 | /** |
||
234 | * {@inheritdoc} |
||
235 | */ |
||
236 | public function createProductsFromVenture(array $productsData, $ventureCode) |
||
243 | |||
244 | /** |
||
245 | * {@inheritdoc} |
||
246 | */ |
||
247 | public function sendProductCreationConfirmationToVenture( |
||
260 | |||
261 | /** |
||
262 | * {@inheritdoc} |
||
263 | */ |
||
264 | public function updateProductsFromVenture(array $productsData, $ventureCode) |
||
271 | |||
272 | /** |
||
273 | * {@inheritdoc} |
||
274 | */ |
||
275 | public function updateProductImagesFromVenture(array $productsData, $ventureCode) |
||
282 | |||
283 | /** |
||
284 | * {@inheritdoc} |
||
285 | */ |
||
286 | public function isInvalidOrder(\Iris\Transfer\Sales\Order $order) |
||
290 | } |
||
291 |
This check looks for variables that are accessed but have not been defined. It raises an issue if it finds another variable that has a similar name.
The variable may have been renamed without also renaming all references.