Class OrderStatusExtensions
Extension methods for OrderStatus.
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 |
|---|---|---|
| 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 |