public function getServicePrice( $type, $serviceId, MShop_Order_Item_Base_Interface $basket )
	{
		if( isset( $this->_providers[$type][$serviceId] ) ) {
			return $this->_providers[$type][$serviceId]->calcPrice( $basket );
		}

		$item = $this->_getServiceItem( $type, $serviceId );
		$serviceManager = MShop_Factory::createManager( $this->_getContext(), 'service' );

		return $serviceManager->getProvider( $item )->calcPrice( $basket );
	}
public function getServicePrice( $type, $serviceId, MShop_Order_Item_Base_Interface $basket )
	{
		if( isset( $this->_providers[$type][$serviceId] ) ) {
			return $this->_providers[$type][$serviceId]->calcPrice( $basket );
		}

		$item = $this->_getServiceItem( $type, $serviceId );
		$serviceManager = MShop_Factory::createManager( $this->_getContext(), 'service' );

		return $serviceManager->getProvider( $item )->calcPrice( $basket );
	}
public function getServicePrice ( $ type , $ serviceId , MShop_Order_Item_Base_Interface $ basket ) { if ( isset ( $ this -> _providers [ $ type ] [ $ serviceId ] ) ) { return $ this -> _providers [ $ type ] [ $ serviceId ] -> calcPrice ( $ basket ) ; } $ item = $ this -> _getServiceItem ( $ type , $ serviceId ) ; $ serviceManager = MShop_Factory :: createManager ( $ this -> _getContext ( ) , 'service' ) ; return $ serviceManager -> getProvider ( $ item ) -> calcPrice ( $ basket ) ; }
Returns the price of the service.

@param string $type Service type, e.g. "delivery" (shipping related) or "payment" (payment related)
@param string $serviceId Identifier of one of the service option returned by getService()
@param MShop_Order_Item_Base_Interface $basket Basket with products
@return MShop_Price_Item_Interface Price item
@throws Controller_Frontend_Service_Exception If no active service provider for this ID is available
@throws MShop_Exception If service provider isn't available
@throws Exception If an error occurs
Returns the price of the service .