Omnipay\Alipay\Requests\LegacyVerifyNotifyIdRequest::setNotifyId PHP Method

setNotifyId() public method

public setNotifyId ( $value )
$value
    public function setNotifyId($value)
    {
        return $this->setParameter('notify_id', $value);
    }

Usage Example

コード例 #1
0
 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');
     }
 }
All Usage Examples Of Omnipay\Alipay\Requests\LegacyVerifyNotifyIdRequest::setNotifyId