public function getService( $type )
	{
		if(!isset($this->_services[$type])) {
			throw new MShop_Order_Exception( sprintf( 'Service of type "%1$s" not available', $type ) );
		}

		return $this->_services[$type];
	}
public function getService( $type )
	{
		if(!isset($this->_services[$type])) {
			throw new MShop_Order_Exception( sprintf( 'Service of type "%1$s" not available', $type ) );
		}

		return $this->_services[$type];
	}
public function getService ( $ type ) { if ( ! isset ( $ this -> _services [ $ type ] ) ) { throw new MShop_Order_Exception ( sprintf ( 'Service of type "%1$s" not available' , $ type ) ) ; } return $ this -> _services [ $ type ] ; }
Returns the delivery or payment service depending on the given type.

@param string $type Service type code like 'payment', 'delivery', etc.
@return MShop_Order_Item_Base_Serive_Interface Order service item for the requested type
Returns the delivery or payment service depending on the given type .