Class Category
- Namespace
- Dynamicweb.Ecommerce.Products.Categories
- Assembly
- Dynamicweb.Ecommerce.dll
The class Category represents product category.
[Serializable]
public class Category
- Inheritance
-
Category
- Inherited Members
Properties
CategoryType
public CategoryType CategoryType { get; set; }
Property Value
Id
Returns the ID of the current Dynamicweb.eCommerce.Products.Categories.Category.
public string Id { get; }
Property Value
Remarks
0 indicates a new Dynamicweb.eCommerce.Products.Categories.Category.
IsNew
Indicates whether this Dynamicweb.eCommerce.Products.Categories.Category is new.
public bool IsNew { get; }
Property Value
Translations
Gets the translations for the current entity
public TranslationCollection<CategoryTranslation> Translations { get; }
Property Value
Methods
GetName(string)
public string GetName(string languageId)
Parameters
languageId
string
Returns
SetName(string, string)
public void SetName(string languageId, string name)