Class Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about order just after Customer Accepted value is set.
public class Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs : NotificationArgs
- Inheritance
-
Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs
- Inherited Members
Examples
namespace Dynamicweb.Ecommerce.Examples.Notifications;
[Dynamicweb.Extensibility.Notifications.Subscribe(Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsSet)]
public class EcomCartAfterCustomerAcceptedValueIsSetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs? afterCustomerAcceptedValueIsSetArgs = args as Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs;
if (afterCustomerAcceptedValueIsSetArgs is null)
return;
//Add code here
}
}
Remarks
The passed NotificationArgs is Ecommerce.Cart.AfterCustomerAcceptedValueIsSetArgs
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.
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.