Table of Contents

Class Ecommerce.Cart.BeforePlaceRecurringOrderArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll

Provides information about order just before placing new recurring order.

public class Ecommerce.Cart.BeforePlaceRecurringOrderArgs : NotificationArgs
Inheritance
Ecommerce.Cart.BeforePlaceRecurringOrderArgs
Inherited Members

Examples

using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforePlaceRecurringOrder)]
      public class EcomCartBeforePlaceRecurringOrderObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforePlaceRecurringOrderArgs beforePlaceRecurringOrderArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforePlaceRecurringOrderArgs;

              //Add code here
          }
      }
  }

Remarks

The passed NotificationArgs is Ecommerce.Cart.BeforePlaceRecurringOrderArgs

Properties

Order

Gets or sets the order.

public Order Order { get; set; }

Property Value

Order

Order. Setting this from a notification subscriber will have no effect.

See Also

To top