Click or drag to resize

EcommerceCartBeforeCustomerAcceptedValueIsSetArgs Class

Provides information about order just before Customer Accepted value is set.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartBeforeCustomerAcceptedValueIsSetArgs

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

The EcommerceCartBeforeCustomerAcceptedValueIsSetArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartBeforeCustomerAcceptedValueIsSetArgs
Initializes a new instance of the EcommerceCartBeforeCustomerAcceptedValueIsSetArgs 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 EcommerceCartBeforeCustomerAcceptedValueIsSetArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomerAcceptedValueIsSet)]
      public class EcomCartBeforeCustomerAcceptedValueIsSetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomerAcceptedValueIsSetArgs beforeCustomerAcceptedValueIsSetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeCustomerAcceptedValueIsSetArgs;

              //Add code here
          }
      }
  }
See Also