Class ReturnMerchandiseAuthorizationState
- 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
DefaultName
public string DefaultName { get; set; }
Property Value
Id
Gets the ID.
public int Id { get; }
Property Value
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
Types
Gets a collection of the ReturnMerchandiseAuthorizationType objects that this ReturnMerchandiseAuthorizationState is associated with.
public ReturnMerchandiseAuthorizationTypeCollection Types { get; set; }
Property Value
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()
Gets a ReturnMerchandiseAuthorizationStateCollection containing all ReturnMerchandiseAuthorizationState.
public static ReturnMerchandiseAuthorizationStateCollection GetAllStates()
Returns
GetDefaultStateForNewRmaOrderLines()
Gets the default ReturnMerchandiseAuthorizationState for new ReturnMerchandiseAuthorization.
public static ReturnMerchandiseAuthorizationState GetDefaultStateForNewRmaOrderLines()
Returns
GetDescription(string)
public string GetDescription(string languageId)
Parameters
languageId
string
Returns
GetName(string)
public string GetName(string languageId)
Parameters
languageId
string
Returns
GetStateById(int)
public static ReturnMerchandiseAuthorizationState GetStateById(int stateId)
Parameters
stateId
int
Returns
Save()
Saves this instance.
public void Save()
SetDescription(string, string)
public void SetDescription(string languageId, string description)
Parameters
SetName(string, string)
public void SetName(string languageId, string name)