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