London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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