Table of Contents

Class Ecommerce.Cart.AfterCustomerCountryIsSetArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll
Provides information about order and country just after customer country is set.
public class Ecommerce.Cart.AfterCustomerCountryIsSetArgs : NotificationArgs
Inheritance
Ecommerce.Cart.AfterCustomerCountryIsSetArgs
Inherited Members

Examples

using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerCountryIsSet)]
      public class EcomCartAfterCustomerCountryIsSetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerCountryIsSetArgs afterCustomerCountryIsSetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterCustomerCountryIsSetArgs;

              //Add code here
          }
      }
  }

Remarks

The passed NotificationArgs is Ecommerce.Cart.AfterCustomerCountryIsSetArgs

Properties

Country

Gets or sets the country.
public Country Country { get; set; }

Property Value

Country
Country. 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