Ctct\WebHooks\CTCTWebhookUtil
Main Webhook Utility class.<br/> This is meant to be used by users to validate and parse Webhooks received from ConstantContact.<br/>
- Author: Constant Contact
Synopsis
class CTCTWebhookUtil
{
- // members
- private string $clientSecret = '';
- // methods
- public CTCTWebhookUtil __construct()
- public string getClientSecret()
- public void setClientSecret()
- public getBillingChangeNotification()
- public bool isValidWebhook()
Members
private
-
$clientSecret
The client secret associated with the api key
Methods
public
- __construct() — Constructor that creates a validation Object for WebHooks.
- getBillingChangeNotification()
- getClientSecret() — CTCTWebhookUtil::getClientSecret()
- isValidWebhook()
- setClientSecret() — CTCTWebhookUtil::setClientSecret() Set the clientSecret