/**
  * List Financial Events By Next Token
  * If ListFinancialEvents returns a nextToken, thus indicating that there are more financial events
  *         than returned that matched the given filter criteria, ListFinancialEventsByNextToken
  *         can be used to retrieve those events using that nextToken.
  *
  * @param mixed $request array of parameters for MWSFinancesService_Model_ListFinancialEventsByNextToken request or MWSFinancesService_Model_ListFinancialEventsByNextToken object itself
  * @see MWSFinancesService_Model_ListFinancialEventsByNextToken
  * @return MWSFinancesService_Model_ListFinancialEventsByNextTokenResponse
  *
  * @throws Finances_Exception
  */
 public function listFinancialEventsByNextToken($request)
 {
     //require_once (dirname(__FILE__) . '/Model/ListFinancialEventsByNextTokenResponse.php');
     return MWSFinancesService_Model_ListFinancialEventsByNextTokenResponse::fromXML($this->_invoke('ListFinancialEventsByNextToken'));
 }
示例#2
0
文件: Client.php 项目: stephlanj/mws
 /**
  * List Financial Events By Next Token
  * If ListFinancialEvents returns a nextToken, thus indicating that there are more financial events
  *         than returned that matched the given filter criteria, ListFinancialEventsByNextToken
  *         can be used to retrieve those events using that nextToken.
  *
  * @param mixed $request array of parameters for MWSFinancesService_Model_ListFinancialEventsByNextToken request or MWSFinancesService_Model_ListFinancialEventsByNextToken object itself
  * @see MWSFinancesService_Model_ListFinancialEventsByNextTokenRequest
  * @return MWSFinancesService_Model_ListFinancialEventsByNextTokenResponse
  *
  * @throws MWSFinancesService_Exception
  */
 public function listFinancialEventsByNextToken($request)
 {
     if (!$request instanceof MWSFinancesService_Model_ListFinancialEventsByNextTokenRequest) {
         require_once dirname(__FILE__) . '/Model/ListFinancialEventsByNextTokenRequest.php';
         $request = new MWSFinancesService_Model_ListFinancialEventsByNextTokenRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListFinancialEventsByNextToken';
     $httpResponse = $this->_invoke($parameters);
     require_once dirname(__FILE__) . '/Model/ListFinancialEventsByNextTokenResponse.php';
     $response = MWSFinancesService_Model_ListFinancialEventsByNextTokenResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }