static WebhookEventType() { CHARGEBACK_EXECUTED = new WebhookEventType("chargeback.executed"); REFUND_SUCCEEDED = new WebhookEventType("refund.succeeded"); REFUND_CREATED = new WebhookEventType("refund.created"); REFUND_FAILED = new WebhookEventType("refund.failed"); SUBSCRIPTION_SUCCEEDED = new WebhookEventType("subscription.succeeded"); SUBSCRIPTION_CREATED = new WebhookEventType("subscription.created"); SUBSCRIPTION_FAILED = new WebhookEventType("subscription.failed"); SUBSCRIPTION_UPDATED = new WebhookEventType("subscription.updated"); SUBSCRIPTION_DELETED = new WebhookEventType("subscription.deleted"); TRANSACTION_SUCCEEDED = new WebhookEventType("transaction.succeeded"); TRANSACTION_FAILED = new WebhookEventType("transaction.failed"); TRANSACTION_CREATED = new WebhookEventType("transaction.created"); PAYOUT_TRANSFERRED = new WebhookEventType("payout.transferred"); INVOICE_AVAILABLE = new WebhookEventType("invoice.available"); APP_MERCHANT_ACTIVATED = new WebhookEventType("app.merchant.activated"); APP_MERCHANT_DEACTIVATED = new WebhookEventType("app.merchant.deactivated"); APP_MERCHANT_REJECTED = new WebhookEventType("app.merchant.rejected"); CLIENT_UPDATED = new WebhookEventType("client.updated"); UNKNOWN = new WebhookEventType("", true); SUBSCRIPTION_EXPIRING = new WebhookEventType("subscription.expiring"); SUBSCRIPTION_DEACTIVATED = new WebhookEventType("subscription.deactivated"); SUBSCRIPTION_ACTIVATED = new WebhookEventType("subscription.activated"); SUBSCRIPTION_CANCELED = new WebhookEventType("subscription.activated"); PAYMENT_EXPIRED = new WebhookEventType("payment.expired"); APP_MERCHANT_LIVE_REQUESTS_ALLOWED = new WebhookEventType("app.merchant.live_requests_allowed"); APP_MERCHANT_LIVE_REQUESTS_NOT_ALLOWED = new WebhookEventType("app.merchant.live_requests_not_allowed"); APP_MERCHANT_APP_DISABLED = new WebhookEventType("app.merchant.app.disabled"); }
internal WebhookResolver() { EventType = new Webhook.WebhookEventType(); }