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.

Store

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

Store

public class Store : StoreReadOnly

Inheritance

Namespace

Methods

Create (1 of 2)

public static Store Create(IUnitOfWork uow, string alias, string name, 
    bool autoPopulateStore = true)

Create (2 of 2)

public static Store Create(IUnitOfWork uow, Guid id, string alias, string name, 
    bool autoPopulateStore = true)

AddGiftCardPropertyAlias

public Store AddGiftCardPropertyAlias(string alias)

AddProductPropertyAlias

public Store AddProductPropertyAlias(string alias)

AddProductUniquenessPropertyAlias

public Store AddProductUniquenessPropertyAlias(string alias)

AllowUser (1 of 2)

public Store AllowUser(IUser user)

AllowUser (2 of 2)

public Store AllowUser(string userId)

AllowUserRole

public Store AllowUserRole(string role)

AllowUserRoles

public Store AllowUserRoles(IEnumerable<string> roles)

AllowUsers (1 of 2)

public Store AllowUsers(IEnumerable<IUser> users)

AllowUsers (2 of 2)

public Store AllowUsers(IEnumerable<string> userIds)

ClearGiftCardPropertyAliases

public Store ClearGiftCardPropertyAliases()

ClearProductPropertyAliases

public Store ClearProductPropertyAliases()

ClearProductUniquenessPropertyAliases

public Store ClearProductUniquenessPropertyAliases()

DisableCookies

public Store DisableCookies()

DisallowUser (1 of 2)

public Store DisallowUser(IUser user)

DisallowUser (2 of 2)

public Store DisallowUser(string userId)

DisallowUserRole

public Store DisallowUserRole(string role)

DisallowUserRoles

public Store DisallowUserRoles(IEnumerable<string> roles)

DisallowUsers (1 of 2)

public Store DisallowUsers(IEnumerable<IUser> users)

DisallowUsers (2 of 2)

public Store DisallowUsers(IEnumerable<string> userIds)

EnableCookies

public Store EnableCookies(TimeSpan cookieTimeout)

RemoveGiftCardPropertyAlias

public Store RemoveGiftCardPropertyAlias(string alias)

RemoveProductPropertyAlias

public Store RemoveProductPropertyAlias(string alias)

RemoveProductUniquenessPropertyAlias

public Store RemoveProductUniquenessPropertyAlias(string alias)

SetAlias

public Store SetAlias(string alias)

SetAllowedUserRoles

public Store SetAllowedUserRoles(IEnumerable<string> roles, 
    SetBehavior setBehavior = SetBehavior.Merge)

SetAllowedUsers (1 of 2)

public Store SetAllowedUsers(IEnumerable<IUser> users, SetBehavior setBehavior = SetBehavior.Merge)

SetAllowedUsers (2 of 2)

public Store SetAllowedUsers(IEnumerable<string> userIds, 
    SetBehavior setBehavior = SetBehavior.Merge)

SetBaseCurrency (1 of 2)

public Store SetBaseCurrency(CurrencyReadOnly currency)

SetBaseCurrency (2 of 2)

public Store SetBaseCurrency(Guid? currencyId)

SetCartNumberTemplate

public Store SetCartNumberTemplate(string template)

SetConfirmationEmailTemplate (1 of 2)

public Store SetConfirmationEmailTemplate(EmailTemplateReadOnly emailTemplate)

SetConfirmationEmailTemplate (2 of 2)

public Store SetConfirmationEmailTemplate(Guid? emailTemplateId)

SetDefaultCountry (1 of 2)

public Store SetDefaultCountry(CountryReadOnly country)

SetDefaultCountry (2 of 2)

public Store SetDefaultCountry(Guid? countryId)

SetDefaultGiftCardEmailTemplate (1 of 2)

public Store SetDefaultGiftCardEmailTemplate(EmailTemplateReadOnly emailTemplate)

SetDefaultGiftCardEmailTemplate (2 of 2)

public Store SetDefaultGiftCardEmailTemplate(Guid? emailTemplateId)

SetDefaultOrderStatus (1 of 2)

public Store SetDefaultOrderStatus(OrderStatusReadOnly orderStatus)

SetDefaultOrderStatus (2 of 2)

public Store SetDefaultOrderStatus(Guid? orderStatusId)

SetDefaultTaxClass (1 of 2)

public Store SetDefaultTaxClass(TaxClassReadOnly taxClass)

SetDefaultTaxClass (2 of 2)

public Store SetDefaultTaxClass(Guid? taxClassId)

SetErrorEmailTemplate (1 of 2)

public Store SetErrorEmailTemplate(EmailTemplateReadOnly emailTemplate)

SetErrorEmailTemplate (2 of 2)

public Store SetErrorEmailTemplate(Guid? emailTemplateId)

SetErrorOrderStatus (1 of 2)

public Store SetErrorOrderStatus(OrderStatusReadOnly orderStatus)

SetErrorOrderStatus (2 of 2)

public Store SetErrorOrderStatus(Guid? orderStatusId)

SetGiftCardActivationMethod

public Store SetGiftCardActivationMethod(GiftCardActivationMethod activationMethod)

SetGiftCardActivationOrderStatus (1 of 2)

public Store SetGiftCardActivationOrderStatus(OrderStatusReadOnly orderStatus)

SetGiftCardActivationOrderStatus (2 of 2)

public Store SetGiftCardActivationOrderStatus(Guid? orderStatusId)

SetGiftCardCodeLength

public Store SetGiftCardCodeLength(int length)

SetGiftCardCodeTemplate

public Store SetGiftCardCodeTemplate(string codeTemplate)

SetGiftCardPropertyAliases

public Store SetGiftCardPropertyAliases(IEnumerable<string> aliases, 
    SetBehavior setBehavior = SetBehavior.Merge)

SetGiftCardValidityTimeframe

public Store SetGiftCardValidityTimeframe(int numberOfDays)

SetName (1 of 2)

public Store SetName(string name)

SetName (2 of 2)

public Store SetName(string name, string alias)

SetNotificationEmailTemplates (1 of 2)

public Store SetNotificationEmailTemplates(EmailTemplateReadOnly confirmationEmailTemplate, 
    EmailTemplateReadOnly errorEmailTemplate)

SetNotificationEmailTemplates (2 of 2)

public Store SetNotificationEmailTemplates(Guid? confirmationEmailTemplateId, 
    Guid? errorEmailTemplateId)

SetOrderEditorConfig

public Store SetOrderEditorConfig(string configPath)

SetOrderNumberTemplate

public Store SetOrderNumberTemplate(string template)

SetOrderNumberTemplates

public Store SetOrderNumberTemplates(string cartNumberTemplate, string orderNumberTemplate)

SetOrderStatuses (1 of 2)

public Store SetOrderStatuses(OrderStatusReadOnly defaultOrderStatus, 
    OrderStatusReadOnly errorOrderStatus)

SetOrderStatuses (2 of 2)

public Store SetOrderStatuses(Guid? defaultOrderStatusId, Guid? errorOrderStatusId)

SetPriceTaxInclusivity

public Store SetPriceTaxInclusivity(bool pricesIncludeTax)

SetProductPropertyAliases

public Store SetProductPropertyAliases(IEnumerable<string> aliases, 
    SetBehavior setBehavior = SetBehavior.Merge)

SetProductUniquenessPropertyAliases

public Store SetProductUniquenessPropertyAliases(IEnumerable<string> aliases, 
    SetBehavior setBehavior = SetBehavior.Merge)

SetSortOrder

public Store SetSortOrder(int order)

ShareStockFrom (1 of 2)

public Store ShareStockFrom(StoreReadOnly store)

ShareStockFrom (2 of 2)

public Store ShareStockFrom(Guid storeId)

StopSharingStock

public Store StopSharingStock()

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.