Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class OrderStatusService

Handles

Inheritance
System.Object
OrderStatusService
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class OrderStatusService : Object

Constructors

OrderStatusService()

Declaration
public OrderStatusService()

Methods

IsCancellable(OrderStatus)

Checks if an order with this status can be cancelled.

Declaration
public virtual bool IsCancellable(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 virtual bool IsHoldable(OrderStatus orderStatus)
Parameters
Type Name Description
OrderStatus orderStatus
Returns
Type Description
System.Boolean