public function transferTaxDiscounts(Varien_Object $salesObject, ITaxDiscountContainer $discountContainer)
    {
        /** @var ITaxDiscountIterable $discounts */
        $discounts = $discountContainer->getDiscounts();
        $data = $this->getDiscountsData($salesObject);

        foreach ($data as $loneDiscountData) {
            $discount = $this->_fillOutTaxDiscount($discounts->getEmptyDiscount(), $loneDiscountData);
            ;
            $discounts[$discount] = $discount;
        }
        return $discountContainer->setDiscounts($discounts);
    }