Class Feed
- Namespace
- Dynamicweb.Ecommerce.Feeds
- Assembly
- Dynamicweb.Ecommerce.dll
The class Feed represents product feed.
[Serializable]
[PermissionEntity("Feed")]
public class Feed : ICloneable, IPermissionEntity, IPermissionEntityLookup
- Inheritance
-
Feed
- Implements
- Inherited Members
- Extension Methods
Constructors
Feed()
Initializes a new instance of the class.
public Feed()
Properties
ChannelId
Gets or sets the channel ID used when source is channel.
public string? ChannelId { get; set; }
Property Value
CurrencyCodes
Gets or sets the feed currency code
public List<string> CurrencyCodes { get; set; }
Property Value
Id
Gets or sets the ID of the feed
public int Id { get; set; }
Property Value
IndexQueryId
Gets or sets the id of index query used when source is index
public string? IndexQueryId { get; set; }
Property Value
IsFolder
Gets or sets value indicating whether feed used as folder for grouping child feeds
public bool IsFolder { get; set; }
Property Value
LanguageIds
Gets or sets the feed language id.
public List<string> LanguageIds { get; set; }
Property Value
Name
Gets or sets the name of the feed.
public required string Name { get; set; }
Property Value
ParentId
Gets or sets the parent feed id in the feeds tree hierarchy.
public int ParentId { get; set; }
Property Value
PermissionName
The permission entity identifier name supported by this implementation of IPermissionEntityLookup.
public string PermissionName { get; }
Property Value
- See Also
Provider
Gets or sets the provider of the feed
public string? Provider { get; set; }
Property Value
ProviderConfiguration
Gets or sets the configuration of the provider
public string? ProviderConfiguration { get; set; }
Property Value
RawIndexQueryParameters
Gets or sets query parameters
public string? RawIndexQueryParameters { get; set; }
Property Value
RawIndexQuerySorting
Gets or sets query sorting
public string? RawIndexQuerySorting { get; set; }
Property Value
ShopIds
Gets or sets the feed shop ids
public List<string> ShopIds { get; set; }
Property Value
Source
Gets or sets the feed source.
public FeedSourceType Source { get; set; }
Property Value
Time
Gets or sets the date and time, to get the prices from a specific period
public DateTime? Time { get; set; }
Property Value
UserId
Gets or sets user id
public int UserId { get; set; }
Property Value
Methods
Clone()
Clones the feed.
public object Clone()
Returns
GetPermissionEntityByKey(string)
Attempts to resolve a concrete instance of IPermissionEntity based on a key.
public IPermissionEntity? GetPermissionEntityByKey(string key)
Parameters
keystringThe key used for looking up an instance of IPermissionEntity
Returns
- IPermissionEntity
An instance of IPermissionEntity, if found; otherwise,
null.
- See Also
GetPermissionKey()
Gets the unique key for this permission entity.
public string GetPermissionKey()
Returns
- string
Permission key
GetPermissionParents()
Gets the parents of this permission entity, for the purposes of inherited permissions.
public IEnumerable<IPermissionEntity> GetPermissionParents()
Returns
- IEnumerable<IPermissionEntity>
A sequence of direct parents to this entity