for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ePayService driver for the Omnipay PHP payment processing library.
*
* @link https://github.com/hiqdev/omnipay-epayservice
* @package omnipay-epayservice
* @license MIT
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\ePayService\Message;
* ePayService Complete Purchase Request.
class CompletePurchaseRequest extends AbstractRequest
{
* Get the data for this request.
* @return array request data
public function getData()
$this->validate('purse');
return $this->httpRequest->request->all();
}
* Send the request with specified data.
* @param mixed $data The data to send
* @return CompletePurchaseResponse
public function sendData($data)
return $this->response = new CompletePurchaseResponse($this, $data);