for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\Omnipay\PlatiOnline\Message;
use Omnipay\Common\Message\AbstractRequest as CommonAbstractRequest;
/**
* Class PurchaseRequest
* @package ByTIC\Omnipay\PlatiOnline\Message
*
* @method PurchaseResponse send()
*/
class PurchaseRequest extends CommonAbstractRequest
{
use \ByTIC\Omnipay\Common\Message\Traits\ParametersTrait;
use \ByTIC\Omnipay\Common\Message\Traits\HasLanguageRequestTrait;
use \ByTIC\Omnipay\Common\Message\Traits\SendDataRequestTrait;
* @inheritDoc
public function getData()
return [
'redirectUrl' => $this->getAuthorizeResponse()->getRedirectUrl()
];
}
* @param AuthorizeResponse $response
public function setAuthorizeResponse($response)
$this->setParameter('authorizeResponse', $response);
* @return AuthorizeResponse
public function getAuthorizeResponse()
return $this->getParameter('authorizeResponse');