protected function _getOrderServiceItem( $baseid )
	{
		$orderServiceManager = MShop_Factory::createManager( $this->_getContext(), 'order/base/service' );

		$search = $orderServiceManager->createSearch();
		$expr = array(
			$search->compare( '==', 'order.base.service.baseid', $baseid ),
			$search->compare( '==', 'order.base.service.type', 'payment' )
		);
		$search->setConditions( $search->combine( '&&', $expr ) );

		$results = $orderServiceManager->searchItems( $search );

		if ( ( $serviceItem = reset( $results ) ) === false )
		{
			$msg = sprintf( 'Service payment provider for order base ID "%1$s" not found', $baseid );
			throw new MShop_Service_Exception( $msg );
		}

		return $serviceItem;
	}
protected function _getOrderServiceItem( $baseid )
	{
		$orderServiceManager = MShop_Factory::createManager( $this->_getContext(), 'order/base/service' );

		$search = $orderServiceManager->createSearch();
		$expr = array(
			$search->compare( '==', 'order.base.service.baseid', $baseid ),
			$search->compare( '==', 'order.base.service.type', 'payment' )
		);
		$search->setConditions( $search->combine( '&&', $expr ) );

		$results = $orderServiceManager->searchItems( $search );

		if ( ( $serviceItem = reset( $results ) ) === false )
		{
			$msg = sprintf( 'Service payment provider for order base ID "%1$s" not found', $baseid );
			throw new MShop_Service_Exception( $msg );
		}

		return $serviceItem;
	}
protected function _getOrderServiceItem ( $ baseid ) { $ orderServiceManager = MShop_Factory :: createManager ( $ this -> _getContext ( ) , 'order/base/service' ) ; $ search = $ orderServiceManager -> createSearch ( ) ; $ expr = array ( $ search -> compare ( '==' , 'order.base.service.baseid' , $ baseid ) , $ search -> compare ( '==' , 'order.base.service.type' , 'payment' ) ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; $ results = $ orderServiceManager -> searchItems ( $ search ) ; if ( ( $ serviceItem = reset ( $ results ) ) === false ) { $ msg = sprintf ( 'Service payment provider for order base ID "%1$s" not found' , $ baseid ) ; throw new MShop_Service_Exception ( $ msg ) ; } return $ serviceItem ; }
Returns order service item for specified base ID.

@param integer $baseid Base ID of the order
@return MShop_Order_Item_Base_Service_Interface Order service item
Returns order service item for specified base ID .