Click or drag to resize

EcommerceCartAfterRecurringOrderPlacedArgs Class

Provides information about order just after new recurring order is placed.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartAfterRecurringOrderPlacedArgs

Namespace:  Dynamicweb.Ecommerce.Notifications
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.10.0
Syntax
public class AfterRecurringOrderPlacedArgs : NotificationArgs

The EcommerceCartAfterRecurringOrderPlacedArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartAfterRecurringOrderPlacedArgs
Initializes a new instance of the EcommerceCartAfterRecurringOrderPlacedArgs class
Top
Properties
  NameDescription
Public propertyOrder
Gets or sets the order.
Public propertyRecurringOrder
Gets or sets the RecurringOrder.
Top
Remarks
The passed NotificationArgs is EcommerceCartAfterRecurringOrderPlacedArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterRecurringOrderPlaced)]
      public class EcomCartAfterRecurringOrderPlacedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterRecurringOrderPlacedArgs afterRecurringOrderPlacedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterRecurringOrderPlacedArgs;

              //Add code here
          }
      }
  }
See Also