Class StockLocation
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the stock location.
[Serializable]
public class StockLocation
- Inheritance
-
StockLocation
- Inherited Members
Constructors
StockLocation()
Initializes a new instance of the StockLocation class.
public StockLocation()
Properties
CategoryId
public string CategoryId { get; set; }
Property Value
GroupID
public long GroupID { get; set; }
Property Value
ID
public long ID { get; set; }
Property Value
SortOrder
public int SortOrder { get; set; }
Property Value
Translations
Gets the translations
public TranslationCollection<StockLocationTranslation> Translations { get; }
Property Value
UserId
public int UserId { get; set; }
Property Value
Methods
Clone()
Clones the stock location.
public StockLocation Clone()
Returns
- StockLocation
New instance of the StockLocation.
GetDescription(string)
Gets the description of the stock location for the given language.
public string GetDescription(string languageId)
Parameters
languageId
string
Returns
GetName(string)
Gets the name of the stock location for the given language.
public string GetName(string languageId)
Parameters
languageId
string
Returns
SetDescription(string, string)
Sets the description of the stock location for the given language.
public void SetDescription(string languageId, string description)
Parameters
SetName(string, string)
Sets the name of the stock location for the given language.
public void SetName(string languageId, string name)