Table of Contents

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

string

Id

Gets or sets the Id

public string Id { get; set; }

Property Value

string

Translations

Gets the translations.

public TranslationCollection<UnitTranslation> Translations { get; }

Property Value

TranslationCollection<UnitTranslation>

Methods

GetName(string)

Gets the unit name for a given language.

public string GetName(string languageId)

Parameters

languageId string

The 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)

Parameters

languageId string

The language ID.

name string

The translation value to set.

To top