![]() | EcommerceCartBeforeDeliveryCountryIsChangedArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceCartBeforeDeliveryCountryIsChangedArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceCartBeforeDeliveryCountryIsChangedArgs | Initializes a new instance of the EcommerceCartBeforeDeliveryCountryIsChangedArgs class |
using Dynamicweb; namespace Dynamicweb.Ecommerce.Examples.Notifications { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDeliveryCountryIsChanged)] public class EcomCartBeforeDeliveryCountryIsChangedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDeliveryCountryIsChangedArgs beforeDeliveryCountryIsChangedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDeliveryCountryIsChangedArgs; //Add code here } } }