protected function _buildXMLPrice( MShop_Common_Manager_Interface $orderBaseManager,
		MShop_Order_Item_Base_Interface $base, DOMDocument $dom, DOMElement $orderitem )
	{
		$price = $base->getPrice();
		$total = $price->getValue() + $price->getCosts();

		$priceitem = $dom->createElement( 'priceitem' );
		$this->_appendChildCDATA( 'price', number_format( $price->getValue(), 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'shipping', number_format( $price->getCosts(), 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'discount', number_format( 0.00, 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'total', number_format( $total, 2, '.', '' ), $dom, $priceitem );

		$orderitem->appendChild( $priceitem );
	}
protected function _buildXMLPrice( MShop_Common_Manager_Interface $orderBaseManager,
		MShop_Order_Item_Base_Interface $base, DOMDocument $dom, DOMElement $orderitem )
	{
		$price = $base->getPrice();
		$total = $price->getValue() + $price->getCosts();

		$priceitem = $dom->createElement( 'priceitem' );
		$this->_appendChildCDATA( 'price', number_format( $price->getValue(), 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'shipping', number_format( $price->getCosts(), 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'discount', number_format( 0.00, 2, '.', '' ), $dom, $priceitem );
		$this->_appendChildCDATA( 'total', number_format( $total, 2, '.', '' ), $dom, $priceitem );

		$orderitem->appendChild( $priceitem );
	}
protected function _buildXMLPrice ( MShop_Common_Manager_Interface $ orderBaseManager , MShop_Order_Item_Base_Interface $ base , DOMDocument $ dom , DOMElement $ orderitem ) { $ price = $ base -> getPrice ( ) ; $ total = $ price -> getValue ( ) + $ price -> getCosts ( ) ; $ priceitem = $ dom -> createElement ( 'priceitem' ) ; $ this -> _appendChildCDATA ( 'price' , number_format ( $ price -> getValue ( ) , 2 , '.' , '' ) , $ dom , $ priceitem ) ; $ this -> _appendChildCDATA ( 'shipping' , number_format ( $ price -> getCosts ( ) , 2 , '.' , '' ) , $ dom , $ priceitem ) ; $ this -> _appendChildCDATA ( 'discount' , number_format ( 0.00 , 2 , '.' , '' ) , $ dom , $ priceitem ) ; $ this -> _appendChildCDATA ( 'total' , number_format ( $ total , 2 , '.' , '' ) , $ dom , $ priceitem ) ; $ orderitem -> appendChild ( $ priceitem ) ; }
Adds the price item to the XML object

@param MShop_Order_Manager_Base_Interface $orderBaseManager Order base manager object
@param MShop_Order_Item_Base_Interface $base Order base object
@param DOMDocument $dom DOM document object with contains the XML structure
@param DOMElement $orderitem DOM element which will be the parent of the new child
@throws DOMException If an error occures
Adds the price item to the XML object