Class ReturnReasonsManager
Implements operations for the return reasons manager.
Inheritance
System.Object
ReturnReasonsManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public static class ReturnReasonsManager
Methods
GetReturnReasonById(Int32)
Gets the return reasons dto by returnReasonId.
Declaration
public static ReturnReasonsDto GetReturnReasonById(int returnReasonId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | returnReasonId |
Returns
Type | Description |
---|---|
ReturnReasonsDto |
GetReturnReasonByName(String)
Gets the return reasons dto by returnReasonId.
Declaration
public static ReturnReasonsDto GetReturnReasonByName(string returnReasonName)
Parameters
Type | Name | Description |
---|---|---|
System.String | returnReasonName |
Returns
Type | Description |
---|---|
ReturnReasonsDto |
GetReturnReasonsDto(Boolean)
Gets the return reasons dto.
Declaration
public static ReturnReasonsDto GetReturnReasonsDto(bool returnInactive)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | returnInactive |
Returns
Type | Description |
---|---|
ReturnReasonsDto |
SaveReturnReason(ReturnReasonsDto)
Saves the return reasons.
Declaration
public static void SaveReturnReason(ReturnReasonsDto dto)
Parameters
Type | Name | Description |
---|---|---|
ReturnReasonsDto | dto | The dto. |