Table of Contents

Class Ecommerce.Cart.BeforeCustomerAcceptedValueIsSetArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll
Provides information about order just before Customer Accepted value is set.
public class Ecommerce.Cart.BeforeCustomerAcceptedValueIsSetArgs : NotificationArgs
Inheritance
Ecommerce.Cart.BeforeCustomerAcceptedValueIsSetArgs
Inherited Members

Examples

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

Remarks

Properties

CustomerAccepted

Gets or sets the value of the Customer Accepted.
public bool CustomerAccepted { get; set; }

Property Value

bool
Boolean. Setting this from a notification subscriber will have no effect.
See Also

Order

Gets or sets the order/cart.
public Order Order { get; set; }

Property Value

Order
Order/cart. Setting this from a notification subscriber will have no effect.
See Also

See Also

To top