Esempio n. 1
0
 /**
  * List Customers By Next Token
  * Returns the next page of results
  *         based on the next token given from a previous call to
  *         ListCustomers or ListCustomersByNextToken, plus a next token
  *         that can be used to obtain the next page of results, if any.
  *
  * @param mixed $request array of parameters for MWSCustomerService_Model_ListCustomersByNextToken request or MWSCustomerService_Model_ListCustomersByNextToken object itself
  * @see MWSCustomerService_Model_ListCustomersByNextToken
  * @return MWSCustomerService_Model_ListCustomersByNextTokenResponse
  *
  * @throws Customer_Exception
  */
 public function listCustomersByNextToken($request)
 {
     //require_once (dirname(__FILE__) . '/Model/ListCustomersByNextTokenResponse.php');
     return MWSCustomerService_Model_ListCustomersByNextTokenResponse::fromXML($this->_invoke('ListCustomersByNextToken'));
 }
Esempio n. 2
0
 /**
  * List Customers By Next Token
  * Returns the next page of results
  *         based on the next token given from a previous call to
  *         ListCustomers or ListCustomersByNextToken, plus a next token
  *         that can be used to obtain the next page of results, if any.
  *
  * @param mixed $request array of parameters for MWSCustomerService_Model_ListCustomersByNextToken request or MWSCustomerService_Model_ListCustomersByNextToken object itself
  * @see MWSCustomerService_Model_ListCustomersByNextTokenRequest
  * @return MWSCustomerService_Model_ListCustomersByNextTokenResponse
  *
  * @throws MWSCustomerService_Exception
  */
 public function listCustomersByNextToken($request)
 {
     if (!$request instanceof MWSCustomerService_Model_ListCustomersByNextTokenRequest) {
         require_once dirname(__FILE__) . '/Model/ListCustomersByNextTokenRequest.php';
         $request = new MWSCustomerService_Model_ListCustomersByNextTokenRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListCustomersByNextToken';
     $httpResponse = $this->_invoke($parameters);
     require_once dirname(__FILE__) . '/Model/ListCustomersByNextTokenResponse.php';
     $response = MWSCustomerService_Model_ListCustomersByNextTokenResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }