You are here

final class StripeEvents in Stripe 8

Same name and namespace in other branches
  1. 2.x src/Event/StripeEvents.php \Drupal\stripe\Event\StripeEvents

Defines events for stripe webhooks.

Hierarchy

Expanded class hierarchy of StripeEvents

1 file declares its use of StripeEvents
StripeWebhookController.php in src/Controller/StripeWebhookController.php

File

src/Event/StripeEvents.php, line 8

Namespace

Drupal\stripe\Event
View source
final class StripeEvents {

  /**
   * The name of the event fired when a webhook is received.
   *
   * @Event
   */
  const WEBHOOK = 'stripe.webhook';

}

Members

Namesort descending Modifiers Type Description Overrides
StripeEvents::WEBHOOK constant The name of the event fired when a webhook is received.