Table of Contents

Class Ecommerce.Cart.AfterRecurringOrderPlacedArgs

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

Provides information about order just after new recurring order is placed.

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

Examples

namespace Dynamicweb.Ecommerce.Examples.Notifications;

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

        //Add code here
    }
}

Remarks

The passed NotificationArgs is Ecommerce.Cart.AfterRecurringOrderPlacedArgs

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.

RecurringOrder

Gets or sets the RecurringOrder.

public RecurringOrder RecurringOrder { get; set; }

Property Value

RecurringOrder

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

See Also

To top