src/Spryker/Zed/SalesOrderThresholdDataImport/Business/Model/DataImportStep/SalesOrderThresholdWriterStep.php
public function execute(DataSetInterface $dataSet): void
    {
        $storeTransfer = $this->getStoreByName($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_STORE]);
        $currencyTransfer = $this->getCurrencyByCode($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_CURRENCY]);

        if ($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_SALES_ORDER_THRESHOLD_TYPE_KEY] && $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_THRESHOLD]) {
            $salesOrderThresholdTransfer = $this->createSalesOrderThresholdTransfer(
                $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_SALES_ORDER_THRESHOLD_TYPE_KEY],
                $storeTransfer,
                $currencyTransfer,
                (int)$dataSet[SalesOrderThresholdDataSetInterface::COLUMN_THRESHOLD],
                (int)$dataSet[SalesOrderThresholdDataSetInterface::COLUMN_FEE],
                $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_MESSAGE_GLOSSARY_KEY]
            );

            $this->salesOrderThresholdFacade->saveSalesOrderThreshold($salesOrderThresholdTransfer);
        }
    }
public function execute(DataSetInterface $dataSet): void
    {
        $storeTransfer = $this->getStoreByName($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_STORE]);
        $currencyTransfer = $this->getCurrencyByCode($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_CURRENCY]);

        if ($dataSet[SalesOrderThresholdDataSetInterface::COLUMN_SALES_ORDER_THRESHOLD_TYPE_KEY] && $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_THRESHOLD]) {
            $salesOrderThresholdTransfer = $this->createSalesOrderThresholdTransfer(
                $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_SALES_ORDER_THRESHOLD_TYPE_KEY],
                $storeTransfer,
                $currencyTransfer,
                (int)$dataSet[SalesOrderThresholdDataSetInterface::COLUMN_THRESHOLD],
                (int)$dataSet[SalesOrderThresholdDataSetInterface::COLUMN_FEE],
                $dataSet[SalesOrderThresholdDataSetInterface::COLUMN_MESSAGE_GLOSSARY_KEY]
            );

            $this->salesOrderThresholdFacade->saveSalesOrderThreshold($salesOrderThresholdTransfer);
        }
    }
@param \Spryker\Zed\DataImport\Business\Model\DataSet\DataSetInterface $dataSet

@return void