November Happy Hour will be moved to Thursday December 5th.

Class OrderStatusExtensions

Extension methods for OrderStatus.

Inheritance
System.Object
OrderStatusExtensions
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
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public static class OrderStatusExtensions

Methods

IsCancellable(OrderStatus)

Checks if an order with this status can be cancelled.

Declaration
public static bool IsCancellable(this OrderStatus orderStatus)
Parameters
Type Name Description
OrderStatus orderStatus
Returns
Type Description
System.Boolean

IsHoldable(OrderStatus)

Checks if an order this status can be put on hold.

Declaration
public static bool IsHoldable(this OrderStatus orderStatus)
Parameters
Type Name Description
OrderStatus orderStatus
Returns
Type Description
System.Boolean