示例#1
0
 /**
  * Get Report Count 
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *   
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html      
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCount request or MarketplaceWebService_Model_GetReportCount object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     //// require_once ('MarketplaceWebService/Model/GetReportCountResponse.php');
     return MarketplaceWebService_Model_GetReportCountResponse::fromXML($this->invoke('GetReportCount'));
 }
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCountRequest request
  * or MarketplaceWebService_Model_GetReportCountRequest object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportCountRequest) {
         require_once dirname(__FILE__) . '/Model/GetReportCountRequest.php';
         $request = new MarketplaceWebService_Model_GetReportCountRequest($request);
     }
     require_once dirname(__FILE__) . '/Model/GetReportCountResponse.php';
     $httpResponse = $this->invoke($this->convertGetReportCount($request));
     $response = MarketplaceWebService_Model_GetReportCountResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
示例#3
0
文件: Client.php 项目: stephlanj/mws
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCountRequest request
  * or MarketplaceWebService_Model_GetReportCountRequest object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportCountRequest) {
         $request = new MarketplaceWebService_Model_GetReportCountRequest($request);
     }
     $httpResponse = $this->invoke($this->convertGetReportCount($request));
     $response = MarketplaceWebService_Model_GetReportCountResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
示例#4
0
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCountRequest request
  * or MarketplaceWebService_Model_GetReportCountRequest object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportCountRequest) {
         //require_once ('MarketplaceWebService/Model/GetReportCountRequest.php');
         $request = new MarketplaceWebService_Model_GetReportCountRequest($request);
     }
     //require_once ('MarketplaceWebService/Model/GetReportCountResponse.php');
     return MarketplaceWebService_Model_GetReportCountResponse::fromXML($this->invoke($this->convertGetReportCount($request)));
 }
示例#5
0
文件: Mock.php 项目: stephlanj/mws
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCount request or MarketplaceWebService_Model_GetReportCount object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     return MarketplaceWebService_Model_GetReportCountResponse::fromXML($this->invoke('GetReportCount'));
 }
示例#6
0
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCount request or MarketplaceWebService_Model_GetReportCount object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     require_once dirname(__FILE__) . '/Model/GetReportCountResponse.php';
     return MarketplaceWebService_Model_GetReportCountResponse::fromXML($this->invoke('GetReportCount'));
 }
示例#7
0
 /**
  * Get Report Count
  * returns a count of reports matching your criteria;
  * by default, the number of reports generated in the last 90 days,
  * regardless of acknowledgement status
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReportCount.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportCountRequest request
  * or MarketplaceWebService_Model_GetReportCountRequest object itself
  * @see MarketplaceWebService_Model_GetReportCount
  * @return MarketplaceWebService_Model_GetReportCountResponse MarketplaceWebService_Model_GetReportCountResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReportCount($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportCountRequest) {
         $request = new MarketplaceWebService_Model_GetReportCountRequest($request);
     }
     return MarketplaceWebService_Model_GetReportCountResponse::fromXML($this->invoke($this->convertGetReportCount($request)));
 }