Class Unit
- Namespace
- Dynamicweb.Ecommerce.Units
- Assembly
- Dynamicweb.Ecommerce.dll
[Serializable]
public sealed class Unit
- Inheritance
-
Unit
- Inherited Members
Properties
ExternalId
Gets or sets the External Id
public string ExternalId { get; set; }
Property Value
Id
Gets or sets the Id
public string Id { get; set; }
Property Value
Translations
Gets the translations.
public TranslationCollection<UnitTranslation> Translations { get; }
Property Value
Methods
GetName(string)
Gets the unit name for a given language.
public string GetName(string languageId)
Parameters
languageId
stringThe language ID.
Returns
- string
The translation value.
SetName(string, string)
Sets the unit name for a given language.
public void SetName(string languageId, string name)