Status
Class Status
Handle webhook status data. Provides diagnostic data and handle webhook subscription
- Full name:
\BigCommerce\Webhooks\Status
Methods
__construct
Status constructor.
public __construct(\BigCommerce\Webhooks\Webhook[] $hooks, \BigCommerce\Api\Webhooks_Api $api): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$hooks | \BigCommerce\Webhooks\Webhook[] | |
$api | \BigCommerce\Api\Webhooks_Api |
diagnostic_data
Return a list of webhooks for current BC store
public diagnostic_data(array $data): array
Parameters:
Parameter | Type | Description |
---|---|---|
$data | array |
update_option
public update_option(mixed $old_value, mixed $new_value, mixed $option_name): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$old_value | mixed | |
$new_value | mixed | |
$option_name | mixed |
Automatically generated on 2025-01-21