@@ -185,6 +185,7 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract
185
185
* @param AdvancedPricing\Validator\Website $websiteValidator
186
186
* @param AdvancedPricing\Validator\TierPrice $tierPriceValidator
187
187
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
188
+ * @throws \Exception
188
189
*/
189
190
public function __construct (
190
191
\Magento \Framework \Json \Helper \Data $ jsonHelper ,
@@ -255,6 +256,7 @@ public function getEntityTypeCode()
255
256
* @param array $rowData
256
257
* @param int $rowNum
257
258
* @return bool
259
+ * @throws \Zend_Validate_Exception
258
260
*/
259
261
public function validateRow (array $ rowData , $ rowNum )
260
262
{
@@ -308,6 +310,7 @@ protected function _importData()
308
310
* Save advanced pricing
309
311
*
310
312
* @return $this
313
+ * @throws \Exception
311
314
*/
312
315
public function saveAdvancedPricing ()
313
316
{
@@ -319,6 +322,7 @@ public function saveAdvancedPricing()
319
322
* Deletes Advanced price data from raw data.
320
323
*
321
324
* @return $this
325
+ * @throws \Exception
322
326
*/
323
327
public function deleteAdvancedPricing ()
324
328
{
@@ -347,6 +351,7 @@ public function deleteAdvancedPricing()
347
351
* Replace advanced pricing
348
352
*
349
353
* @return $this
354
+ * @throws \Exception
350
355
*/
351
356
public function replaceAdvancedPricing ()
352
357
{
@@ -360,6 +365,7 @@ public function replaceAdvancedPricing()
360
365
* @return $this
361
366
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
362
367
* @SuppressWarnings(PHPMD.NPathComplexity)
368
+ * @throws \Exception
363
369
*/
364
370
protected function saveAndReplaceAdvancedPrices ()
365
371
{
@@ -427,6 +433,7 @@ protected function saveAndReplaceAdvancedPrices()
427
433
* @param array $priceData
428
434
* @param string $table
429
435
* @return $this
436
+ * @throws \Exception
430
437
*/
431
438
protected function saveProductPrices (array $ priceData , $ table )
432
439
{
@@ -458,6 +465,7 @@ protected function saveProductPrices(array $priceData, $table)
458
465
* @param array $listSku
459
466
* @param string $table
460
467
* @return boolean
468
+ * @throws \Exception
461
469
*/
462
470
protected function deleteProductTierPrices (array $ listSku , $ table )
463
471
{
@@ -535,6 +543,7 @@ protected function getCustomerGroupId($customerGroup)
535
543
* Retrieve product skus
536
544
*
537
545
* @return array
546
+ * @throws \Exception
538
547
*/
539
548
protected function retrieveOldSkus ()
540
549
{
@@ -555,6 +564,7 @@ protected function retrieveOldSkus()
555
564
* @param array $prices
556
565
* @param string $table
557
566
* @return $this
567
+ * @throws \Exception
558
568
*/
559
569
protected function processCountExistingPrices ($ prices , $ table )
560
570
{
0 commit comments