StoreReadOnly
public class StoreReadOnly : AggregateBase<StoreReadOnly, Store, StoreState>, IHasName
Inheritance
- class AggregateBase<TReadOnlySelf,TWritableSelf,TState>
- interface IHasName
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)