Omnipay\Alipay\Requests\LegacyVerifyAppPayReturnRequest::sendData PHP Метод

sendData() публичный Метод

Send the request with specified data
public sendData ( mixed $data ) : Omnipay\Common\Message\ResponseInterface
$data mixed The data to send
Результат Omnipay\Common\Message\ResponseInterface
    public function sendData($data)
    {
        $request = new LegacyNotifyRequest($this->httpClient, $this->httpRequest);
        $request->initialize($this->parameters->all());
        $request->setParams($data);
        $request->setSort(false);
        $request->setAlipayPublicKey($this->getAlipayPublicKey());
        /**
         * @var LegacyNotifyResponse $response
         */
        $response = $request->send();
        return $response;
    }