Esempio n. 1
0
 /**
  * Confirm Transport Request
  * Confirms the estimate returned by the EstimateTransportRequest operation.
  *     Once this operation has been called successfully, the seller agrees to allow Amazon to charge
  *     their account the amount returned in the estimate.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_ConfirmTransportRequest request or FBAInboundServiceMWS_Model_ConfirmTransportRequest object itself
  * @see FBAInboundServiceMWS_Model_ConfirmTransportInputRequest
  * @return FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function confirmTransportRequest($request)
 {
     if (!$request instanceof FBAInboundServiceMWS_Model_ConfirmTransportInputRequest) {
         $request = new FBAInboundServiceMWS_Model_ConfirmTransportInputRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ConfirmTransportRequest';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
 /**
  * Confirm Transport Request
  * Confirms the estimate returned by the EstimateTransportRequest operation.
  *     Once this operation has been called successfully, the seller agrees to allow Amazon to charge
  *     their account the amount returned in the estimate.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_ConfirmTransportRequest request or FBAInboundServiceMWS_Model_ConfirmTransportRequest object itself
  * @see FBAInboundServiceMWS_Model_ConfirmTransportRequest
  * @return FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse
  *
  * @throws FbaInbound_Exception
  */
 public function confirmTransportRequest($request)
 {
     //require_once (dirname(__FILE__) . '/Model/ConfirmTransportRequestResponse.php');
     return FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse::fromXML($this->_invoke('ConfirmTransportRequest'));
 }
Esempio n. 3
0
 /**
  * Confirm Transport Request
  * Confirms the estimate returned by the EstimateTransportRequest operation.
  *     Once this operation has been called successfully, the seller agrees to allow Amazon to charge
  *     their account the amount returned in the estimate.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_ConfirmTransportRequest request or FBAInboundServiceMWS_Model_ConfirmTransportRequest object itself
  * @see FBAInboundServiceMWS_Model_ConfirmTransportRequest
  * @return FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function confirmTransportRequest($request)
 {
     return FBAInboundServiceMWS_Model_ConfirmTransportRequestResponse::fromXML($this->_invoke('ConfirmTransportRequest'));
 }