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

namespace Dynamicweb.Ecommerce.Examples.Notifications;

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

        //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