Class OrderStatusExtensions
Extension methods for Order
Inheritance
System.Object
OrderStatusExtensions
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public static class OrderStatusExtensions : Object
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 |
---|---|---|
Order |
orderStatus |
Returns
Type | Description |
---|---|
System. |
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 |
---|---|---|
Order |
orderStatus |
Returns
Type | Description |
---|---|
System. |