src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/RefundExample.php
public function getCaptureDetailsRequest()
    {
        $getCaptureDetailsRequest 
            = new OffAmazonPaymentsService_Model_GetCaptureDetailsRequest();
        $getCaptureDetailsRequest->setSellerId($this->_sellerId);
        $getCaptureDetailsRequest->setAmazonCaptureId($this->_amazonCaptureId);
        
        return $this->_service->getCaptureDetails($getCaptureDetailsRequest);
    }
public function getCaptureDetailsRequest()
    {
        $getCaptureDetailsRequest 
            = new OffAmazonPaymentsService_Model_GetCaptureDetailsRequest();
        $getCaptureDetailsRequest->setSellerId($this->_sellerId);
        $getCaptureDetailsRequest->setAmazonCaptureId($this->_amazonCaptureId);
        
        return $this->_service->getCaptureDetails($getCaptureDetailsRequest);
    }
public function getCaptureDetailsRequest ( ) { $ getCaptureDetailsRequest = new OffAmazonPaymentsService_Model_GetCaptureDetailsRequest ( ) ; $ getCaptureDetailsRequest -> setSellerId ( $ this -> _sellerId ) ; $ getCaptureDetailsRequest -> setAmazonCaptureId ( $ this -> _amazonCaptureId ) ; return $ this -> _service -> getCaptureDetails ( $ getCaptureDetailsRequest ) ; }
Get the capture details to find out the
maximum amount that can be refunded

@return OffAmazonPaymentsService_Model_GetCaptureDetailsResponse response
Get the capture details to find out the maximum amount that can be refunded