예제 #1
0
 /**
  * List Carts By Next Token
  * Returns the next page of results based on the next token given from a previous call to
  *         ListCarts or ListCartsByNextToken. The output includes a next token
  *         that can be used to obtain the next page of results, if there are any.
  *
  * @param mixed $request array of parameters for Cart_Model_ListCartsByNextToken request or Cart_Model_ListCartsByNextToken object itself
  * @see Cart_Model_ListCartsByNextToken
  * @return Cart_Model_ListCartsByNextTokenResponse
  *
  * @throws Cart_Exception
  */
 public function listCartsByNextToken($request)
 {
     //        //require_once (dirname(__FILE__) . '/Model/ListCartsByNextTokenResponse.php');
     return Model\Cart_Model_ListCartsByNextTokenResponse::fromXML($this->_invoke('ListCartsByNextToken'));
 }
예제 #2
0
 /**
  * List Carts By Next Token
  * Returns the next page of results based on the next token given from a previous call to
  *         ListCarts or ListCartsByNextToken. The output includes a next token
  *         that can be used to obtain the next page of results, if there are any.
  *
  * @param mixed $request array of parameters for Cart_Model_ListCartsByNextToken request or Cart_Model_ListCartsByNextToken object itself
  * @see Cart_Model_ListCartsByNextTokenRequest
  * @return Cart_Model_ListCartsByNextTokenResponse
  *
  * @throws Cart_Exception
  */
 public function listCartsByNextToken($request)
 {
     if (!$request instanceof Model\Cart_Model_ListCartsByNextTokenRequest) {
         //            //require_once (dirname(__FILE__) . '/Model/ListCartsByNextTokenRequest.php');
         $request = new Cart_Model_ListCartsByNextTokenRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListCartsByNextToken';
     $httpResponse = $this->_invoke($parameters);
     //        //require_once (dirname(__FILE__) . '/Model/ListCartsByNextTokenResponse.php');
     $response = Model\Cart_Model_ListCartsByNextTokenResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }