Click or drag to resize

EcommerceCartAfterCustomerAcceptedValueIsChangedArgs Class

Provides information about order just after Customer Accepted value is changed.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartAfterCustomerAcceptedValueIsChangedArgs

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

The EcommerceCartAfterCustomerAcceptedValueIsChangedArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartAfterCustomerAcceptedValueIsChangedArgs
Initializes a new instance of the EcommerceCartAfterCustomerAcceptedValueIsChangedArgs class
Top
Properties
  NameDescription
Public propertyCustomerAccepted
Gets or sets the value of the Customer Accepted.
Public propertyOrder
Gets or sets the order/cart.
Top
Remarks
The passed NotificationArgs is EcommerceCartAfterCustomerAcceptedValueIsChangedArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsChanged)]
      public class EcomCartAfterCustomerAcceptedValueIsChangedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsChangedArgs afterCustomerAcceptedValueIsChangedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsChangedArgs;

              //Add code here
          }
      }
  }
See Also