Exemple #1
0
 /**
  * List Financial Event Groups
  * ListFinancialEventGroups can be used to find financial event groups that meet filter criteria.
  *
  * @param mixed $request array of parameters for MWSFinancesService_Model_ListFinancialEventGroups request or MWSFinancesService_Model_ListFinancialEventGroups object itself
  * @see MWSFinancesService_Model_ListFinancialEventGroupsRequest
  * @return MWSFinancesService_Model_ListFinancialEventGroupsResponse
  *
  * @throws MWSFinancesService_Exception
  */
 public function listFinancialEventGroups($request)
 {
     if (!$request instanceof MWSFinancesService_Model_ListFinancialEventGroupsRequest) {
         require_once dirname(__FILE__) . '/Model/ListFinancialEventGroupsRequest.php';
         $request = new MWSFinancesService_Model_ListFinancialEventGroupsRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListFinancialEventGroups';
     $httpResponse = $this->_invoke($parameters);
     require_once dirname(__FILE__) . '/Model/ListFinancialEventGroupsResponse.php';
     $response = MWSFinancesService_Model_ListFinancialEventGroupsResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
 /**
  * List Financial Event Groups
  * ListFinancialEventGroups can be used to find financial event groups that meet filter criteria.
  *
  * @param mixed $request array of parameters for MWSFinancesService_Model_ListFinancialEventGroups request or MWSFinancesService_Model_ListFinancialEventGroups object itself
  * @see MWSFinancesService_Model_ListFinancialEventGroups
  * @return MWSFinancesService_Model_ListFinancialEventGroupsResponse
  *
  * @throws Finances_Exception
  */
 public function listFinancialEventGroups($request)
 {
     //require_once (dirname(__FILE__) . '/Model/ListFinancialEventGroupsResponse.php');
     return MWSFinancesService_Model_ListFinancialEventGroupsResponse::fromXML($this->_invoke('ListFinancialEventGroups'));
 }