final class StripeEvents in Stripe 2.x
Same name and namespace in other branches
- 8 src/Event/StripeEvents.php \Drupal\stripe\Event\StripeEvents
Defines events for stripe webhooks.
Hierarchy
- class \Drupal\stripe\Event\StripeEvents
Expanded class hierarchy of StripeEvents
3 files declare their use of StripeEvents
- StripeBase.php in src/
Element/ StripeBase.php - StripeExamplesEventSubscriber.php in modules/
stripe_examples/ src/ EventSubscriber/ StripeExamplesEventSubscriber.php - StripeWebhookController.php in src/
Controller/ StripeWebhookController.php
File
- src/
Event/ StripeEvents.php, line 8
Namespace
Drupal\stripe\EventView source
final class StripeEvents {
/**
* The name of the event fired when a webhook is received.
*
* @Event
*/
const WEBHOOK = 'stripe.webhook';
/**
* The name of the event fired when allowing modules to change the client side
* properties of the stripe workflow, like updating prices or massaging post
* data to fill biling address.
*
* @Event
*/
const PAYMENT = 'stripe.payment';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StripeEvents:: |
constant | The name of the event fired when allowing modules to change the client side properties of the stripe workflow, like updating prices or massaging post data to fill biling address. | ||
StripeEvents:: |
constant | The name of the event fired when a webhook is received. |