src/ShopBundle/objects/db/TShopPaymentMethod.class.php
public function GetPrice()
    {
        if (is_null($this->dPrice)) {
            $this->dPrice = 0;
            $oBasket = TShopBasket::GetInstance();
            if ('absolut' == $this->fieldValueType) {
                $this->dPrice = $this->fieldValue;
            } else {
                $this->dPrice = ($oBasket->dCostArticlesTotalAfterDiscounts * ($this->fieldValue / 100));
            }
            $this->dPrice = round($this->dPrice, 2);
        }

        return $this->dPrice;
    }
public function GetPrice()
    {
        if (is_null($this->dPrice)) {
            $this->dPrice = 0;
            $oBasket = TShopBasket::GetInstance();
            if ('absolut' == $this->fieldValueType) {
                $this->dPrice = $this->fieldValue;
            } else {
                $this->dPrice = ($oBasket->dCostArticlesTotalAfterDiscounts * ($this->fieldValue / 100));
            }
            $this->dPrice = round($this->dPrice, 2);
        }

        return $this->dPrice;
    }
public function GetPrice ( ) { if ( is_null ( $ this -> dPrice ) ) { $ this -> dPrice = 0 ; $ oBasket = TShopBasket :: GetInstance ( ) ; if ( 'absolut' == $ this -> fieldValueType ) { $ this -> dPrice = $ this -> fieldValue ; } else { $ this -> dPrice = ( $ oBasket -> dCostArticlesTotalAfterDiscounts * ( $ this -> fieldValue / 100 ) ) ; } $ this -> dPrice = round ( $ this -> dPrice , 2 ) ; } return $ this -> dPrice ; }
return payment method cost.

@return float
return payment method cost .