Sindbad~EG File Manager

Current Path : /home/copmadinaarea/drive.copmadinaarea.org/vendor/omnipay/paypal/src/Message/
Upload File :
Current File : /home/copmadinaarea/drive.copmadinaarea.org/vendor/omnipay/paypal/src/Message/CaptureRequest.php

<?php

namespace Omnipay\PayPal\Message;

/**
 * PayPal Capture Request
 */
class CaptureRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('transactionReference', 'amount');

        $data = $this->getBaseData();
        $data['METHOD'] = 'DoCapture';
        $data['AMT'] = $this->getAmount();
        $data['CURRENCYCODE'] = $this->getCurrency();
        $data['AUTHORIZATIONID'] = $this->getTransactionReference();
        $data['COMPLETETYPE'] = 'Complete';

        return $data;
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists