Class DiscountTranslationCollection
- Namespace
- Dynamicweb.Ecommerce.Orders.Discounts
- Assembly
- Dynamicweb.Ecommerce.dll
The class DiscountTranslationCollection represents collection of discount translations
[Obsolete("Not in use")]
public class DiscountTranslationCollection : TranslationCollection<DiscountTranslation>, ICollection<DiscountTranslation>, IEnumerable<DiscountTranslation>, IEnumerable
- Inheritance
-
DiscountTranslationCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
DiscountTranslationCollection()
public DiscountTranslationCollection()
Methods
GetTranslationByLanguageId(string)
Gets the translation by language id.
[Obsolete("Use Get")]
public DiscountTranslation GetTranslationByLanguageId(string languageId)
Parameters
languageId
string- The language id.
Returns
- DiscountTranslation
- DiscountTranslation if one with the given language id exists;
null
otherwise.