public function getPrice()
    {
        $price = $this->BasePrice;
                
        // Check for customisations that modify price
        foreach ($this->getCustomisations() as $item) {
            $price += ($item->Price) ? $item->Price : 0;
        }
        
        return $price;
    }
public function getPrice()
    {
        $price = $this->BasePrice;
                
        // Check for customisations that modify price
        foreach ($this->getCustomisations() as $item) {
            $price += ($item->Price) ? $item->Price : 0;
        }
        
        return $price;
    }
public function getPrice ( ) { $ price = $ this -> BasePrice ; // Check for customisations that modify price foreach ( $ this -> getCustomisations ( ) as $ item ) { $ price += ( $ item -> Price ) ? $ item -> Price : 0 ; } return $ price ; }
Find the cost of all items in this line, without any tax.

@return Currency
Find the cost of all items in this line without any tax .