src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
public function closeOrderReference($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_CloseOrderReferenceRequest) {            
            $request = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest($request);
        };
        $httpResponse = $this->_invoke($this->_convertCloseOrderReference($request));
        $response = OffAmazonPaymentsService_Model_CloseOrderReferenceResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function closeOrderReference($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_CloseOrderReferenceRequest) {            
            $request = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest($request);
        };
        $httpResponse = $this->_invoke($this->_convertCloseOrderReference($request));
        $response = OffAmazonPaymentsService_Model_CloseOrderReferenceResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function closeOrderReference ( $ request ) { if ( ! $ request instanceof OffAmazonPaymentsService_Model_CloseOrderReferenceRequest ) { $ request = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest ( $ request ) ; } ; $ httpResponse = $ this -> _invoke ( $ this -> _convertCloseOrderReference ( $ request ) ) ; $ response = OffAmazonPaymentsService_Model_CloseOrderReferenceResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Close Order Reference

@param mixed $request array of parameters for OffAmazonPaymentsService_Model_CloseOrderReferenceRequest request
or OffAmazonPaymentsService_Model_CloseOrderReferenceRequest object itself
@see OffAmazonPaymentsService_Model_CloseOrderReference
@return OffAmazonPaymentsService_Model_CloseOrderReferenceResponse OffAmazonPaymentsService_Model_CloseOrderReferenceResponse

@throws OffAmazonPaymentsService_Exception
Close Order Reference