Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

What3wordsDefaults.cs

using Nop.Core;

namespace Nop.Plugin.Widgets.What3words;

/// 
/// Represents plugin constants
/// 
public static class What3wordsDefaults
{
    /// 
    /// Gets the system name
    /// 
    public static string SystemName => "Widgets.What3words";

    /// 
    /// Gets the user agent used to request third-party services
    /// 
    public static string UserAgent => $"nopCommerce-{NopVersion.CURRENT_VERSION}";

    /// 
    /// Gets the configuration route name
    /// 
    public static string ConfigurationRouteName => "Plugin.Widgets.What3words.Configure";

    /// 
    /// Gets the name of autosuggest component
    /// 
    public static string ComponentName => "w3w";

    /// 
    /// Gets a key of the attribute to store words for address
    /// 
    public static string AddressValueAttribute => "What3wordsValue";

    /// 
    /// Gets a field prefix on the checkout billing address page
    /// 
    public static string BillingAddressPrefix => "BillingNewAddress";

    /// 
    /// Gets a field prefix on the checkout billing address page
    /// 
    public static string ShippingAddressPrefix => "ShippingNewAddress";
}