Class ReturnMerchandiseAuthorizationEvent
- Assembly
- Dynamicweb.Ecommerce.dll
The class ReturnMerchandiseAuthorizationEvent represents event within rma process.
public class ReturnMerchandiseAuthorizationEvent
- Inheritance
-
ReturnMerchandiseAuthorizationEvent
- Inherited Members
Constructors
ReturnMerchandiseAuthorizationEvent()
public ReturnMerchandiseAuthorizationEvent()
Properties
DefaultDescription
public string DefaultDescription { get; set; }
Property Value
Description
Gets the event description.
[Obsolete("Use GetDescription and SetDescription instead.")]
public string Description { get; set; }
Property Value
LanguageId
Gets the event language id.
[Obsolete("Use Translations instead.")]
public string LanguageId { get; set; }
Property Value
Translations
Gets the translations for the current entity
public TranslationCollection<ReturnMerchandiseAuthorizationEventTranslation> Translations { get; }
Property Value
Type
Gets the event type.
public string Type { get; set; }
Property Value
Methods
Delete()
Deletes this Translation of this ReturnMerchandiseAuthorizationEvent.
[Obsolete("Use DeleteTranslation insted.")]
public void Delete()
DeleteTranslation(string)
public void DeleteTranslation(string languageId)
Parameters
languageId
string
GetAllEvents()
Gets all events
public static ReturnMerchandiseAuthorizationEventCollection GetAllEvents()
Returns
GetAllEventsForLanguageId(string)
Gets all events for given language id.
[Obsolete("Use GetAllEvents instead.")]
public static ReturnMerchandiseAuthorizationEventCollection GetAllEventsForLanguageId(string languageId)
Parameters
languageId
string- The language id.
Returns
GetDescription(string)
public string GetDescription(string languageId)
Parameters
languageId
string
Returns
GetEventByType(string)
Gets event by event type
public static ReturnMerchandiseAuthorizationEvent GetEventByType(string eventType)
Parameters
eventType
string- Event type
Returns
- ReturnMerchandiseAuthorizationEvent
- Existed event type or new event if nothing is found
Save()
public void Save()
SaveDefaultDescription(string)
Saves default description for event.
[Obsolete("Use Save() instead.")]
public void SaveDefaultDescription(string eventDescription)
Parameters
eventDescription
string- The description.
Remarks
If event of this Type exists in database description will not be updated.
SaveTranslatedDescription(string, string)
Saves translated description for event.
[Obsolete("Use Save() instead.")]
public void SaveTranslatedDescription(string languageId, string eventDescription)
Parameters
Remarks
If event of this Type not exists in database new one will be created.
SetDescription(string, string)
public void SetDescription(string languageId, string description)