/**
  * Get Service Status
  * Gets the status of the service.
  *   Status is one of GREEN, RED representing:
  *   GREEN: The service section is operating normally.
  *   RED: The service section disruption.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetServiceStatus request or FBAInboundServiceMWS_Model_GetServiceStatus object itself
  * @see FBAInboundServiceMWS_Model_GetServiceStatus
  * @return FBAInboundServiceMWS_Model_GetServiceStatusResponse
  *
  * @throws FbaInbound_Exception
  */
 public function getServiceStatus($request)
 {
     //require_once (dirname(__FILE__) . '/Model/GetServiceStatusResponse.php');
     return FBAInboundServiceMWS_Model_GetServiceStatusResponse::fromXML($this->_invoke('GetServiceStatus'));
 }
Example #2
0
 /**
  * Get Service Status
  * Gets the status of the service.
  *   Status is one of GREEN, RED representing:
  *   GREEN: The service section is operating normally.
  *   RED: The service section disruption.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetServiceStatus request or FBAInboundServiceMWS_Model_GetServiceStatus object itself
  * @see FBAInboundServiceMWS_Model_GetServiceStatusRequest
  * @return FBAInboundServiceMWS_Model_GetServiceStatusResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function getServiceStatus($request)
 {
     if (!$request instanceof FBAInboundServiceMWS_Model_GetServiceStatusRequest) {
         $request = new FBAInboundServiceMWS_Model_GetServiceStatusRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetServiceStatus';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAInboundServiceMWS_Model_GetServiceStatusResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Example #3
0
 /**
  * Get Service Status
  * Gets the status of the service.
  *   Status is one of GREEN, RED representing:
  *   GREEN: The service section is operating normally.
  *   RED: The service section disruption.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetServiceStatus request or FBAInboundServiceMWS_Model_GetServiceStatus object itself
  * @see FBAInboundServiceMWS_Model_GetServiceStatus
  * @return FBAInboundServiceMWS_Model_GetServiceStatusResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function getServiceStatus($request)
 {
     return FBAInboundServiceMWS_Model_GetServiceStatusResponse::fromXML($this->_invoke('GetServiceStatus'));
 }