true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Metadata. * @property string $name Event destination name. * @property null|string $snapshot_api_version If using the snapshot event payload, the API version events are rendered as. * @property string $status Status. It can be set to either enabled or disabled. * @property null|\Stripe\StripeObject $status_details Additional information about event destination status. * @property string $type Event destination type. * @property int $updated Time at which the object was last updated. * @property null|\Stripe\StripeObject $webhook_endpoint Webhook endpoint configuration. */ class EventDestination extends \Stripe\ApiResource { const OBJECT_NAME = 'v2.core.event_destination'; const EVENT_PAYLOAD_SNAPSHOT = 'snapshot'; const EVENT_PAYLOAD_THIN = 'thin'; const STATUS_DISABLED = 'disabled'; const STATUS_ENABLED = 'enabled'; const TYPE_AMAZON_EVENTBRIDGE = 'amazon_eventbridge'; const TYPE_WEBHOOK_ENDPOINT = 'webhook_endpoint'; }