Table of Contents

Class ReturnMerchandiseAuthorizationEvent

Namespace
Dynamicweb.Ecommerce.Orders.ReturnMerchandiseAuthorization
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

string

Description

Gets the event description.
[Obsolete("Use GetDescription and SetDescription instead.")]
public string Description { get; set; }

Property Value

string

LanguageId

Gets the event language id.
[Obsolete("Use Translations instead.")]
public string LanguageId { get; set; }

Property Value

string

Translations

Gets the translations for the current entity
public TranslationCollection<ReturnMerchandiseAuthorizationEventTranslation> Translations { get; }

Property Value

TranslationCollection<ReturnMerchandiseAuthorizationEventTranslation>

Type

Gets the event type.
public string Type { get; set; }

Property Value

string

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

ReturnMerchandiseAuthorizationEventCollection

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

ReturnMerchandiseAuthorizationEventCollection

GetDescription(string)

public string GetDescription(string languageId)

Parameters

languageId string

Returns

string

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

languageId string
The language id.
eventDescription string
The description.

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)

Parameters

languageId string
description string
To top