final class RecurringEvents in Commerce Recurring Framework 8
Hierarchy
- class \Drupal\commerce_recurring\Event\RecurringEvents
Expanded class hierarchy of RecurringEvents
2 files declare their use of RecurringEvents
- DunningSubscriber.php in src/
EventSubscriber/ DunningSubscriber.php - RecurringJobTypeBase.php in src/
Plugin/ AdvancedQueue/ JobType/ RecurringJobTypeBase.php
File
- src/
Event/ RecurringEvents.php, line 5
Namespace
Drupal\commerce_recurring\EventView source
final class RecurringEvents {
/**
* Name of the event fired when a payment is declined.
*
* Subscribers can respond to this email to send dunning emails or modify
* the recurring order before it is saved.
*
* @Event
*
* @see \Drupal\commerce_recurring\Plugin\AdvancedQueue\JobType\RecurringOrderClose
*/
const PAYMENT_DECLINED = 'commerce_recurring.payment_declined';
/**
* Name of the event fired after loading a subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_LOAD = 'commerce_recurring.commerce_subscription.load';
/**
* Name of the event fired after creating a new subscription.
*
* Fired before the subscription is saved.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_CREATE = 'commerce_recurring.commerce_subscription.create';
/**
* Name of the event fired before saving a subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_PRESAVE = 'commerce_recurring.commerce_subscription.presave';
/**
* Name of the event fired after saving a new subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_INSERT = 'commerce_recurring.commerce_subscription.insert';
/**
* Name of the event fired after saving an existing subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_UPDATE = 'commerce_recurring.commerce_subscription.update';
/**
* Name of the event fired before deleting a subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_PREDELETE = 'commerce_recurring.commerce_subscription.predelete';
/**
* Name of the event fired after deleting a subscription.
*
* @Event
*
* @see \Drupal\commerce_recurring\Event\SubscriptionEvent
*/
const SUBSCRIPTION_DELETE = 'commerce_recurring.commerce_subscription.delete';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RecurringEvents:: |
constant | Name of the event fired when a payment is declined. | ||
RecurringEvents:: |
constant | Name of the event fired after creating a new subscription. | ||
RecurringEvents:: |
constant | Name of the event fired after deleting a subscription. | ||
RecurringEvents:: |
constant | Name of the event fired after saving a new subscription. | ||
RecurringEvents:: |
constant | Name of the event fired after loading a subscription. | ||
RecurringEvents:: |
constant | Name of the event fired before deleting a subscription. | ||
RecurringEvents:: |
constant | Name of the event fired before saving a subscription. | ||
RecurringEvents:: |
constant | Name of the event fired after saving an existing subscription. |