Manage webhooks for a specific Mailchimp list.
package |
Default |
---|
__construct(array $data = NULL)
array
all() : \MailChimp\Response\WebhookListResponse
Get information about all webhooks for a specific list.
\MailChimp\Response\WebhookListResponse
api()
clear()
config()
create() : \MailChimp\Models\Lists\Webhook
Create a new webhook for a specific list.
\MailChimp\Models\Lists\Webhook
edit() : \MailChimp\Models\Lists\Webhook
Update the settings for an existing webhook.
\MailChimp\Models\Lists\Webhook
getAction( $name)
getActionField(string $action, string $name) : \MailChimp\Core\ActionField
getActionFields(string $action) : array<mixed,\MailChimp\Core\ActionField>
getField(string $name) : \MailChimp\Core\Field
string
\MailChimp\Core\Field
getFields() : array
array
getPath(\MailChimp\Core\string $child = NULL, array $params = NULL) : string
\MailChimp\Core\string
array
string
hasField(string $name) : boolean
string
Field name
boolean
initialize()
jsonSerialize()
merge( $data)
methodName() : mixed
mixed
methodName() : mixed
mixed
own( $class, $args)
parseActionPath( &$params)
read() : \MailChimp\Models\Lists\Webhook
Get information about a specific webhook.
\MailChimp\Models\Lists\Webhook
reference( &$field, $name)
setApi(\MailChimp\Interfaces\MailChimpInterface &$api)
setConfig(\MailChimp\Interfaces\ConfigInterface &$config)
path : string
var |
---|
string
params : array
var |
---|
array
action : array
var |
---|
array
_action : array
var |
---|
array
data : object
var |
---|
object
_fields : array
var |
---|
array
fields : array
var |
---|
array
_reference : array
var |
---|
array
_api :
_config :
id : string
A string that uniquely identifies this webhook.
string
url : string
A valid URL for the Webhook.
string
events : \MailChimp\Data\WebhookEvents
The events that can trigger the webhook and whether they are enabled.
\MailChimp\Data\WebhookEvents
sources : \MailChimp\Data\WebhookSources
The possible sources of any events that can trigger the webhook and whether they are enabled.
\MailChimp\Data\WebhookSources
list_id : string
The unique id for the list.
string
_links : array<mixed,\MailChimp\Data\Link>
A list of link types and descriptions for the API schema documents.
array<mixed,\MailChimp\Data\Link>