src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/SimpleCheckoutExample.php
public function closeOrderReference()
    {
        $closeOrderReferenceRequest = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest();
        $closeOrderReferenceRequest->setSellerId($this->_sellerId);
        $closeOrderReferenceRequest->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
        $closeOrderReferenceRequest->setClosureReason("Order complete");

        return $this->_service->closeOrderReference($closeOrderReferenceRequest);
    }
public function closeOrderReference()
    {
        $closeOrderReferenceRequest = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest();
        $closeOrderReferenceRequest->setSellerId($this->_sellerId);
        $closeOrderReferenceRequest->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
        $closeOrderReferenceRequest->setClosureReason("Order complete");

        return $this->_service->closeOrderReference($closeOrderReferenceRequest);
    }
public function closeOrderReference ( ) { $ closeOrderReferenceRequest = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest ( ) ; $ closeOrderReferenceRequest -> setSellerId ( $ this -> _sellerId ) ; $ closeOrderReferenceRequest -> setAmazonOrderReferenceId ( $ this -> _amazonOrderReferenceId ) ; $ closeOrderReferenceRequest -> setClosureReason ( "Order complete" ) ; return $ this -> _service -> closeOrderReference ( $ closeOrderReferenceRequest ) ; }
Close this order reference to indicate that the order is complete, and
no further authorizations and captures will be performed on this order

@return OffAmazonPaymentsService_Model_CloseOrderReferenceResponse service response
Close this order reference to indicate that the order is complete and no further authorizations and captures will be performed on this order