forked from LiveCarta/PayPal-PHP-SDK
Update Webhooks API
This commit is contained in:
42
lib/PayPal/Api/VerifyWebhookSignatureResponse.php
Normal file
42
lib/PayPal/Api/VerifyWebhookSignatureResponse.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
|
||||
/**
|
||||
* Class VerifyWebhookSignatureResponse
|
||||
*
|
||||
* The verify webhook signature response.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string verification_status
|
||||
*/
|
||||
class VerifyWebhookSignatureResponse extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* The status of the signature verification. Value is `SUCCESS` or `FAILURE`.
|
||||
* Valid Values: ["SUCCESS", "FAILURE"]
|
||||
*
|
||||
* @param string $verification_status
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVerificationStatus($verification_status)
|
||||
{
|
||||
$this->verification_status = $verification_status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The status of the signature verification. Value is `SUCCESS` or `FAILURE`.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getVerificationStatus()
|
||||
{
|
||||
return $this->verification_status;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user