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

Vendr constant variables

public static class Constants

Namespace

Classes

Constants.Cache

Cache related constants

public static class Cache
Classes

Constants.Cache.CacheKeys

Cache key constants

public static class CacheKeys
Fields

Countries

Cache key for the Countries cache

public const string Countries;

Currencies

Cache key for the Currencies cache

public const string Currencies;

Discounts

Cache key for the Discounts cache

public const string Discounts;

EmailTemplates

Cache key for the Email Templates cache

public const string EmailTemplates;

FrozenPrices

Cache key for the Frozen Prices cache

public const string FrozenPrices;

GiftCards

Cache key for the Gift Cards cache

public const string GiftCards;

Orders

Cache key for the Orders cache

public const string Orders;

OrderStatuses

Cache key for the Order Statuses cache

public const string OrderStatuses;

PaymentMethods

Cache key for the Payment Methods cache

public const string PaymentMethods;

Regions

Cache key for the Regions cache

public const string Regions;

ShippingMethods

Cache key for the Shipping Methods cache

public const string ShippingMethods;

Stores

Cache key for the Stores cache

public const string Stores;

TaxClasses

Cache key for the Tax Classes cache

public const string TaxClasses;

Constants.DatabaseSchema

Database schema constants

public static class DatabaseSchema
Fields

TableNamePrefix

The prefix to prepend on to all Vendr database table names

public const string TableNamePrefix;
Classes

Constants.DatabaseSchema.Tables

Database table constants

public static class Tables
Fields

ActivityLog

The Activity Log database table name

public const string ActivityLog;

Country

The Country database table name

public const string Country;

Currency

The Currency database table name

public const string Currency;

CurrencyAllowedCountry

The Currency Allowed Country database table name

public const string CurrencyAllowedCountry;

Discount

The Discount database table name

public const string Discount;

DiscountCode

The Discount Code database table name

public const string DiscountCode;

EmailTemplate

The Email Template database table name

public const string EmailTemplate;

FrozenPrice

The Frozen Price database table name

public const string FrozenPrice;

GiftCard

The Gift Card database table name

public const string GiftCard;

GiftCardProperty

The Gift Card Property database table name

public const string GiftCardProperty;

Order

The Order database table name

public const string Order;

OrderAppliedDiscount

The Order Applied Discount database table name

public const string OrderAppliedDiscount;

OrderAppliedDiscountCode

The Order Applied Discount Code database table name

public const string OrderAppliedDiscountCode;

OrderAppliedGiftCard

The Order Applied Gift Card database table name

public const string OrderAppliedGiftCard;

OrderLine

The Order Line database table name

public const string OrderLine;

OrderLineProperty

The Order Line Property database table name

public const string OrderLineProperty;

OrderProperty

The Order Property database table name

public const string OrderProperty;

OrderStatus

The Order Status database table name

public const string OrderStatus;

PaymentMethod

The Payment Method database table name

public const string PaymentMethod;

PaymentMethodAllowedCountryRegion

The Payment Method Allowed Country Region database table name

public const string PaymentMethodAllowedCountryRegion;

PaymentMethodCountryRegionPrice

The Payment Method Country Region Price database table name

public const string PaymentMethodCountryRegionPrice;

PaymentMethodPaymentProviderSetting

The Payment Method Payment Provider Setting database table name

public const string PaymentMethodPaymentProviderSetting;

Region

The Region database table name

public const string Region;

ShippingMethod

The Shipping Method database table name

public const string ShippingMethod;

ShippingMethodAllowedCountryRegion

The Shipping Method Allowed Country Region database table name

public const string ShippingMethodAllowedCountryRegion;

ShippingMethodCountryRegionPrice

The Shipping Method Country Region Price database table name

public const string ShippingMethodCountryRegionPrice;

Stock

The Stock database table name

public const string Stock;

Store

The Store database table name

public const string Store;

StoreAllowedUser

The Store Allowed User database table name

public const string StoreAllowedUser;

StoreAllowedUserRole

The Store Allowed User Role database table name

public const string StoreAllowedUserRole;

TaxClass

The Tax Class database table name

public const string TaxClass;

TaxClassCountryRegionTaxRate

The Tax Class Country Region Tax Rate database table name

public const string TaxClassCountryRegionTaxRate;

Constants.Entities

Entity related constants

public static class Entities
Classes

Constants.Entities.EntityTypes

Entity type constants

public static class EntityTypes
Fields

Country

Country entity type

public const string Country;

Currency

Currency entity type

public const string Currency;

Discount

Discount entity type

public const string Discount;

EmailTemplate

Email Template entity type

public const string EmailTemplate;

GiftCard

Gift Card entity type

public const string GiftCard;

Order

Order entity type

public const string Order;

OrderStatus

Order Status entity type

public const string OrderStatus;

PaymentMethod

Payment Method entity type

public const string PaymentMethod;

Region

Region entity type

public const string Region;

ShippingMethod

Shipping Method entity type

public const string ShippingMethod;

Store

Store entity type

public const string Store;

TaxClass

Tax Class entity type

public const string TaxClass;

Constants.Properties

Property constants

public static class Properties
Fields

StorePropertyAlias

The property alias of the Store property

public const string StorePropertyAlias;
Classes

Constants.Properties.Customer

Customer property constants

public static class Customer
Fields

EmailPropertyAlias

The property alias of the customer Email property

public const string EmailPropertyAlias;

FirstNamePropertyAlias

The property alias of the customer First Name property

public const string FirstNamePropertyAlias;

LastNamePropertyAlias

The property alias of the customer Last Name property

public const string LastNamePropertyAlias;

Constants.Properties.Product

Product property constants

public static class Product
Fields

IsGiftCardPropertyAlias

The property alias of the product Is Gift Card property

public const string IsGiftCardPropertyAlias;

IsRecurringPropertyAlias

The property alias of the product Is Recurring property

public const string IsRecurringPropertyAlias;

NamePropertyAlias

The property alias of the product Product Name property

public const string NamePropertyAlias;

Remarks

If a productName property isn't present, the nodes Name will be used


PricePropertyAlias

The property alias of the product Price property

public const string PricePropertyAlias;

ProductSourcePropertyAlias

The property alias of the linked product source node property

public const string ProductSourcePropertyAlias;

SkuPropertyAlias

The property alias of the product SKU property

public const string SkuPropertyAlias;

StockPropertyAlias

The property alias of the product Stock property

public const string StockPropertyAlias;

TaxClassPropertyAlias

The property alias of the product Tax Class property

public const string TaxClassPropertyAlias;

VariantsPropertyAlias

The property alias of the product Variants property

public const string VariantsPropertyAlias;

Constants.System

System constants

public static class System
Fields

MigrationPlanName

The Vendr migration plan name

public const string MigrationPlanName;

ProductAlias

The Vendr product alias

public const string ProductAlias;

ProductName

The Vendr product name

public const string ProductName;

TrialMaxOrders

The total number of Orders a trial license is allowed to process before a full license is required

public const int TrialMaxOrders;
Classes

Constants.System.Messages

System message constants

public static class Messages
Fields

ScaffoldToWritableExceptionMessage

Exception message to display if a scaffold entity is attempted to be made writable

public const string ScaffoldToWritableExceptionMessage;

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.