Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

Constants

API reference for Constants in Vendr, the eCommerce solution for Umbraco v8+

Constants

public static class Constants

Namespace

Fields

InstanceId

Defines a unique instance ID for this instance of Vendr.

public static string InstanceId;

Classes

Constants.DistributedCache

Defines the alias identifiers for Vendr's distributed cache control.

public static class DistributedCache
Fields

CampaignCacheRefresherGuid

public static readonly Guid CampaignCacheRefresherGuid;

CampaignCacheRefresherId

public const string CampaignCacheRefresherId;

CountryCacheRefresherGuid

public static readonly Guid CountryCacheRefresherGuid;

CountryCacheRefresherId

public const string CountryCacheRefresherId;

CurrencyCacheRefresherGuid

public static readonly Guid CurrencyCacheRefresherGuid;

CurrencyCacheRefresherId

public const string CurrencyCacheRefresherId;

DiscountCacheRefresherGuid

public static readonly Guid DiscountCacheRefresherGuid;

DiscountCacheRefresherId

public const string DiscountCacheRefresherId;

EmailTemplateCacheRefresherGuid

public static readonly Guid EmailTemplateCacheRefresherGuid;

EmailTemplateCacheRefresherId

public const string EmailTemplateCacheRefresherId;

GiftCardCacheRefresherGuid

public static readonly Guid GiftCardCacheRefresherGuid;

GiftCardCacheRefresherId

public const string GiftCardCacheRefresherId;

OrderCacheRefresherGuid

public static readonly Guid OrderCacheRefresherGuid;

OrderCacheRefresherId

public const string OrderCacheRefresherId;

OrderStatusCacheRefresherGuid

public static readonly Guid OrderStatusCacheRefresherGuid;

OrderStatusCacheRefresherId

public const string OrderStatusCacheRefresherId;

PaymentMethodCacheRefresherGuid

public static readonly Guid PaymentMethodCacheRefresherGuid;

PaymentMethodCacheRefresherId

public const string PaymentMethodCacheRefresherId;

RegionCacheRefresherGuid

public static readonly Guid RegionCacheRefresherGuid;

RegionCacheRefresherId

public const string RegionCacheRefresherId;

ShippingMethodCacheRefresherGuid

public static readonly Guid ShippingMethodCacheRefresherGuid;

ShippingMethodCacheRefresherId

public const string ShippingMethodCacheRefresherId;

StoreCacheRefresherGuid

public static readonly Guid StoreCacheRefresherGuid;

StoreCacheRefresherId

public const string StoreCacheRefresherId;

TaxClassCacheRefresherGuid

public static readonly Guid TaxClassCacheRefresherGuid;

TaxClassCacheRefresherId

public const string TaxClassCacheRefresherId;

Constants.Sections

Defines the alias identifiers for Vendr's core sections.

public static class Sections
Fields

Commerce

Application alias for the commerce section.

public const string Commerce;

Constants.Trees

Defines the alias identifiers for vendr's core trees.

public static class Trees
Classes

Constants.Trees.Settings

Defines the alias identifiers for vendr's core settings trees.

public static class Settings
Fields

Alias

Tree alias for the store settings tree.

public const string Alias;

Icons

Defines the maps of icons for vendr's core settings tree node types.

public static readonly IReadOnlyDictionary<NodeType, string> Icons;

Ids

Defines the maps of fixed IDs for vendr's core settings tree node types.

public static readonly IReadOnlyDictionary<NodeType, int> Ids;
Enumerations

Constants.Trees.Settings.NodeType

Defines the aliases for vendr's core settings tree node types.

public enum NodeType

Values

Name Value Description
Settings
0
Alias for the settings node.
Stores
1
Alias for the stores node.
Store
2
Alias for a single store node.
OrderStatuses
3
Alias for the order statuses node.
OrderStatus
4
Alias for a single order status node.
ShippingMethods
5
Alias for the shipping methods node.
ShippingMethod
6
Alias for a single shipping method node.
PaymentMethods
7
Alias for the payment methods node.
PaymentMethod
8
Alias for a single payment method node.
Countries
9
Alias for the countries node.
Country
10
Alias for a single country node.
Region
11
Alias for a single region node.
Currencies
12
Alias for the currencies node.
Currency
13
Alias for a single currency node.
TaxClasses
14
Alias for the tax classes node.
TaxClass
15
Alias for a single tax class node.
EmailTemplates
16
Alias for the email templates node.
EmailTemplate
17
Alias for a single email template node.
Classes

Constants.Trees.Settings.Groups

Defines the tree group alias identifiers for vendr's core settings trees.

public static class Groups
Fields

Commerce

Alias for the commerce tree settings group.

public const string Commerce;

Constants.Trees.Stores

Defines the alias identifiers for vendr's stores trees.

public static class Stores
Fields

Alias

Tree alias for the commerce section.

public const string Alias;

Icons

Defines the maps of icons for vendr's core tree node types.

public static readonly IReadOnlyDictionary<NodeType, string> Icons;

Ids

Defines the maps of fixed IDs for vendr's core settings tree node types.

public static readonly IReadOnlyDictionary<NodeType, int> Ids;
Enumerations

Constants.Trees.Stores.NodeType

Defines the aliases for vendr's core tree node types.

public enum NodeType

Values

Name Value Description
Stores
0
Alias for the stores node.
Store
1
Alias for a single store node.
Orders
2
Alias for the orders node.
Order
3
Alias for a single order node.
Discounts
4
Alias for the discounts node.
Discount
5
Alias for a single discount node.
GiftCards
6
Alias for the gift cards node.
GiftCard
7
Alias for a single gift card node.

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.