src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
public function createOrderReferenceForId($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest) {
            $request = new OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest($request);
        }
        $httpResponse = $this->_invoke($this->_convertCreateOrderReferenceForId($request));
        $response = OffAmazonPaymentsService_Model_CreateOrderReferenceForIdResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function createOrderReferenceForId($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest) {
            $request = new OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest($request);
        }
        $httpResponse = $this->_invoke($this->_convertCreateOrderReferenceForId($request));
        $response = OffAmazonPaymentsService_Model_CreateOrderReferenceForIdResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function createOrderReferenceForId ( $ request ) { if ( ! $ request instanceof OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest ) { $ request = new OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest ( $ request ) ; } $ httpResponse = $ this -> _invoke ( $ this -> _convertCreateOrderReferenceForId ( $ request ) ) ; $ response = OffAmazonPaymentsService_Model_CreateOrderReferenceForIdResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Create Order Reference For Id

@param mixed $request array of parameters for OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest request
or OffAmazonPaymentsService_Model_CreateOrderReferenceForIdRequest object itself
@see OffAmazonPaymentsService_Model_CreateOrderReferenceForId
@return OffAmazonPaymentsService_Model_CreateOrderReferenceForIdResponse OffAmazonPaymentsService_Model_CreateOrderReferenceForIdResponse

@throws OffAmazonPaymentsService_Exception
Create Order Reference For Id