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.

StoreReadOnly

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

StoreReadOnly

public class StoreReadOnly : AggregateBase<StoreReadOnly, Store, StoreState>, IHasName

Inheritance

Namespace

Properties

Alias

public string Alias { get; }

AllowedUserRoles

public IReadOnlyList<AllowedUserRole> AllowedUserRoles { get; }

AllowedUsers

public IReadOnlyList<AllowedUser> AllowedUsers { get; }

BaseCurrencyId

public Guid? BaseCurrencyId { get; }

CartNumberTemplate

public string CartNumberTemplate { get; }

ConfirmationEmailTemplateId

public Guid? ConfirmationEmailTemplateId { get; }

CookieTimeout

public TimeSpan? CookieTimeout { get; }

DefaultCountryId

public Guid? DefaultCountryId { get; }

DefaultGiftCardEmailTemplateId

public Guid? DefaultGiftCardEmailTemplateId { get; }

DefaultOrderStatusId

public Guid? DefaultOrderStatusId { get; }

DefaultTaxClassId

public Guid? DefaultTaxClassId { get; }

ErrorEmailTemplateId

public Guid? ErrorEmailTemplateId { get; }

ErrorOrderStatusId

public Guid? ErrorOrderStatusId { get; }

GiftCardActivationMethod

public GiftCardActivationMethod GiftCardActivationMethod { get; }

GiftCardActivationOrderStatusId

public Guid? GiftCardActivationOrderStatusId { get; }

GiftCardCodeLength

public int GiftCardCodeLength { get; }

GiftCardCodeTemplate

public string GiftCardCodeTemplate { get; }

GiftCardDaysValid

public int GiftCardDaysValid { get; }

GiftCardPropertyAliases

public IReadOnlyList<string> GiftCardPropertyAliases { get; }

IsDeleted

public bool IsDeleted { get; }

Name

public string Name { get; }

OrderEditorConfig

public string OrderEditorConfig { get; }

OrderNumberTemplate

public string OrderNumberTemplate { get; }

PricesIncludeTax

public bool PricesIncludeTax { get; }

ProductPropertyAliases

public IReadOnlyList<string> ProductPropertyAliases { get; }

ProductUniquenessPropertyAliases

public IReadOnlyList<string> ProductUniquenessPropertyAliases { get; }

ShareStockFromStoreId

public Guid? ShareStockFromStoreId { get; }

SortOrder

public int SortOrder { get; }

UseCookies

public bool UseCookies { get; }

Methods

IsAllowed (1 of 2)

public bool IsAllowed(string userId, IEnumerable<string> roles)

IsAllowed (2 of 2)

public bool IsAllowed(IUser user)

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.