Table of Contents

Class ReturnMerchandiseAuthorizationState

Namespace
Dynamicweb.Ecommerce.Orders.ReturnMerchandiseAuthorization
Assembly
Dynamicweb.Ecommerce.dll

The class ReturnMerchandiseAuthorizationState represent state for ReturnMerchandiseAuthorization.

public class ReturnMerchandiseAuthorizationState
Inheritance
ReturnMerchandiseAuthorizationState
Inherited Members

Constructors

ReturnMerchandiseAuthorizationState()

public ReturnMerchandiseAuthorizationState()

Properties

DefaultDescription

public string DefaultDescription { get; set; }

Property Value

string

DefaultName

public string DefaultName { get; set; }

Property Value

string

Id

Gets the ID.

public int Id { get; }

Property Value

int

IsDefaultStateForNewRma

Gets or sets a value indicating whether the state is a the default state for new RMAs .

public bool IsDefaultStateForNewRma { get; set; }

Property Value

bool

true if the state is the default state; otherwise, false.

IsNew

Gets a value indicating whether this instance is new.

public bool IsNew { get; }

Property Value

bool

true if this instance is new; otherwise, false.

Translations

Gets the translations for the current entity

public TranslationCollection<ReturnMerchandiseAuthorizationStateTranslation> Translations { get; }

Property Value

TranslationCollection<ReturnMerchandiseAuthorizationStateTranslation>

Types

Gets a collection of the ReturnMerchandiseAuthorizationType objects that this ReturnMerchandiseAuthorizationState is associated with.

public ReturnMerchandiseAuthorizationTypeCollection Types { get; set; }

Property Value

ReturnMerchandiseAuthorizationTypeCollection

Methods

ClearCache()

Clears the cache.

public static void ClearCache()

DeleteAll()

Deletes all translations of this ReturnMerchandiseAuthorizationState.

public void DeleteAll()

DeleteTranslation(string)

public void DeleteTranslation(string languageId)

Parameters

languageId string

GetAllStates()

public static ReturnMerchandiseAuthorizationStateCollection GetAllStates()

Returns

ReturnMerchandiseAuthorizationStateCollection

GetDefaultStateForNewRmaOrderLines()

public static ReturnMerchandiseAuthorizationState GetDefaultStateForNewRmaOrderLines()

Returns

ReturnMerchandiseAuthorizationState

GetDescription(string)

public string GetDescription(string languageId)

Parameters

languageId string

Returns

string

GetName(string)

public string GetName(string languageId)

Parameters

languageId string

Returns

string

GetStateById(int)

public static ReturnMerchandiseAuthorizationState GetStateById(int stateId)

Parameters

stateId int

Returns

ReturnMerchandiseAuthorizationState

Save()

Saves this instance.

public void Save()

SetDescription(string, string)

public void SetDescription(string languageId, string description)

Parameters

languageId string
description string

SetName(string, string)

public void SetName(string languageId, string name)

Parameters

languageId string
name string
To top