src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/CancellationExample.php
public function cancelOrderReference()
    {
        $cancelOrderReferenceRequest 
            = new OffAmazonPaymentsService_Model_CancelOrderReferenceRequest();
        $cancelOrderReferenceRequest->setSellerId($this->_sellerId);
        $cancelOrderReferenceRequest
            ->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
        
        return $this->_service->cancelOrderReference($cancelOrderReferenceRequest);
    }
public function cancelOrderReference()
    {
        $cancelOrderReferenceRequest 
            = new OffAmazonPaymentsService_Model_CancelOrderReferenceRequest();
        $cancelOrderReferenceRequest->setSellerId($this->_sellerId);
        $cancelOrderReferenceRequest
            ->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
        
        return $this->_service->cancelOrderReference($cancelOrderReferenceRequest);
    }
public function cancelOrderReference ( ) { $ cancelOrderReferenceRequest = new OffAmazonPaymentsService_Model_CancelOrderReferenceRequest ( ) ; $ cancelOrderReferenceRequest -> setSellerId ( $ this -> _sellerId ) ; $ cancelOrderReferenceRequest -> setAmazonOrderReferenceId ( $ this -> _amazonOrderReferenceId ) ; return $ this -> _service -> cancelOrderReference ( $ cancelOrderReferenceRequest ) ; }
Cancel the payment contract - this can be performed on any order reference
that does not have a completed transaction

@return OffAmazonPaymentsService_Model_CancelOrderReferenceResponse response
Cancel the payment contract - this can be performed on any order reference that does not have a completed transaction