for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* eCoin driver for Omnipay PHP payment library
*
* @link https://github.com/hiqdev/omnipay-ecoin
* @package omnipay-ecoin
* @license MIT
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\eCoin\Message;
/**
* eCoin 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);