public function getPrice()
	{
		if( $this->_modified !== false )
		{
			$this->_price->setValue( '0.00' );
			$this->_price->setCosts( '0.00' );
			$this->_price->setRebate( '0.00' );
			$this->_price->setTaxRate( '0.00' );

			foreach( $this->getServices() as $service ) {
				$this->_price->addItem( $service->getPrice() );
			}

			foreach( $this->getProducts() as $product ) {
				$this->_price->addItem( $product->getPrice(), $product->getQuantity() );
			}
		}

		return $this->_price;
	}
public function getPrice()
	{
		if( $this->_modified !== false )
		{
			$this->_price->setValue( '0.00' );
			$this->_price->setCosts( '0.00' );
			$this->_price->setRebate( '0.00' );
			$this->_price->setTaxRate( '0.00' );

			foreach( $this->getServices() as $service ) {
				$this->_price->addItem( $service->getPrice() );
			}

			foreach( $this->getProducts() as $product ) {
				$this->_price->addItem( $product->getPrice(), $product->getQuantity() );
			}
		}

		return $this->_price;
	}
public function getPrice ( ) { if ( $ this -> _modified !== false ) { $ this -> _price -> setValue ( '0.00' ) ; $ this -> _price -> setCosts ( '0.00' ) ; $ this -> _price -> setRebate ( '0.00' ) ; $ this -> _price -> setTaxRate ( '0.00' ) ; foreach ( $ this -> getServices ( ) as $ service ) { $ this -> _price -> addItem ( $ service -> getPrice ( ) ) ; } foreach ( $ this -> getProducts ( ) as $ product ) { $ this -> _price -> addItem ( $ product -> getPrice ( ) , $ product -> getQuantity ( ) ) ; } } return $ this -> _price ; }
Returns a price item with amounts calculated for the products, costs, etc.

@return MShop_Price_Item_Interface Price item with price, costs and rebate the customer has to pay
Returns a price item with amounts calculated for the products costs etc .