public function setNotifyId($value)
{
return $this->setParameter('notify_id', $value);
}
protected function verifyNotifyId() { $request = new LegacyVerifyNotifyIdRequest($this->httpClient, $this->httpRequest); $request->initialize($this->parameters->all()); $request->setPartner($this->getPartner()); $request->setNotifyId($this->params->get('notify_id')); /** * @var VerifyNotifyIdResponse $response */ $response = $request->send(); if (!$response->isSuccessful()) { throw new InvalidRequestException('The `notify_id` verify failed, which TTL is 60s'); } }