You are here

commerce_recurring.services.yml in Commerce Recurring Framework 8

File

commerce_recurring.services.yml
View source
  1. services:
  2. commerce_recurring.referenceable_plugin_types_subscriber:
  3. class: Drupal\commerce_recurring\EventSubscriber\ReferenceablePluginTypesSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. commerce_recurring.event_subscriber.order_subscriber:
  7. class: Drupal\commerce_recurring\EventSubscriber\OrderSubscriber
  8. arguments: ['@entity_type.manager', '@commerce_recurring.order_manager', '@datetime.time']
  9. tags:
  10. - { name: event_subscriber }
  11. commerce_recurring.event_subscriber.dunning_subscriber:
  12. class: Drupal\commerce_recurring\EventSubscriber\DunningSubscriber
  13. arguments: ['@commerce_recurring.payment_declined_mail']
  14. tags:
  15. - { name: event_subscriber }
  16. commerce_recurring.payment_declined_mail:
  17. class: Drupal\commerce_recurring\Mail\PaymentDeclinedMail
  18. arguments: ['@entity_type.manager', '@commerce.mail_handler', '@commerce_order.order_total_summary', '@datetime.time']
  19. commerce_recurring.initial_order_processor:
  20. class: Drupal\commerce_recurring\InitialOrderProcessor
  21. arguments: ['@datetime.time']
  22. tags:
  23. - { name: commerce_order.order_processor, priority: 40, adjustment_type: subscription }
  24. commerce_recurring.recurring_order_processor:
  25. class: Drupal\commerce_recurring\RecurringOrderProcessor
  26. arguments: ['@commerce_recurring.order_manager']
  27. tags:
  28. - { name: commerce_order.order_processor, priority: 300 }
  29. commerce_recurring.cron:
  30. class: Drupal\commerce_recurring\Cron
  31. arguments: ['@entity_type.manager', '@commerce_recurring.order_manager', '@datetime.time']
  32. commerce_recurring.order_manager:
  33. class: Drupal\commerce_recurring\RecurringOrderManager
  34. arguments: ['@entity_type.manager', '@datetime.time']
  35. plugin.manager.commerce_billing_schedule:
  36. class: Drupal\commerce_recurring\BillingScheduleManager
  37. parent: default_plugin_manager
  38. plugin.manager.commerce_subscription_type:
  39. class: Drupal\commerce_recurring\SubscriptionTypeManager
  40. parent: default_plugin_manager
  41. plugin.manager.commerce_prorater:
  42. class: Drupal\commerce_recurring\ProraterManager
  43. parent: default_plugin_manager