Table of Contents

Class Ecommerce.Order.State.ChangedArgs

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

Provides information about order when it's status was changed.

public class Ecommerce.Order.State.ChangedArgs : NotificationArgs
Inheritance
Ecommerce.Order.State.ChangedArgs
Inherited Members

Examples

using Dynamicweb;

namespace Dynamicweb.Ecommerce.Examples.Notifications
{
    [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.State.Changed)]
    public class EcomOrderStateChangedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
    {
        public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
        {
            Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.State.ChangedArgs changedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.State.ChangedArgs;
            //Add code here
        }
    }
}

Remarks

The passed NotificationArgs is Ecommerce.Order.State.ChangedArgs

Constructors

ChangedArgs(Order)

Initializes a new instance of the Ecommerce.Order.State.ChangedArgs class.

public ChangedArgs(Order order)

Parameters

order Order

The order.

Properties

Order

Gets the order.

public Order Order { get; }

Property Value

Order

The order.

See Also

To top