src/ShopBundle/objects/TShopBasket/TShopBasketCore.class.php
public function GetBasketSumForVoucher(TShopVoucher &$oVoucher)
    {
        $value = $this->GetBasketArticles()->GetBasketSumForVoucher($oVoucher);
        if (true === $oVoucher->IsSponsored()) {
            $value += $this->dCostShipping;
        }

        return $value;
    }
public function GetBasketSumForVoucher(TShopVoucher &$oVoucher)
    {
        $value = $this->GetBasketArticles()->GetBasketSumForVoucher($oVoucher);
        if (true === $oVoucher->IsSponsored()) {
            $value += $this->dCostShipping;
        }

        return $value;
    }
public function GetBasketSumForVoucher ( TShopVoucher & $ oVoucher ) { $ value = $ this -> GetBasketArticles ( ) -> GetBasketSumForVoucher ( $ oVoucher ) ; if ( true === $ oVoucher -> IsSponsored ( ) ) { $ value += $ this -> dCostShipping ; } return $ value ; }
exposes the GetBasketSumForVoucher method in TShopBasketArticleList.

@param TShopVoucher $oVoucher

@return float
exposes the GetBasketSumForVoucher method in TShopBasketArticleList .