Class OrderShipmentStatusService
Inheritance
System.Object
OrderShipmentStatusService
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.0Syntax
public class OrderShipmentStatusService
Constructors
OrderShipmentStatusService()
Declaration
public OrderShipmentStatusService()
Methods
IsAddressEditable(OrderShipmentStatus)
Checks if the shipping address of a shipment with this status can be edited.
Declaration
public virtual bool IsAddressEditable(OrderShipmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
OrderShipmentStatus | status |
Returns
Type | Description |
---|---|
System.Boolean | True if that address can be edited. Otherwise, false. |
IsCancellable(OrderShipmentStatus)
Checks if a shipment with this status can be cancelled.
Declaration
public virtual bool IsCancellable(OrderShipmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
OrderShipmentStatus | status |
Returns
Type | Description |
---|---|
System.Boolean | True if that shipment can be cancelled. Otherwise, false. |
IsEditable(OrderShipmentStatus)
Checks if a shipment with this status can be edited.
Declaration
public virtual bool IsEditable(OrderShipmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
OrderShipmentStatus | status |
Returns
Type | Description |
---|---|
System.Boolean | True if that shipment can be edited. Otherwise, false. |
IsReleaseable(OrderShipmentStatus)
Checks if a shipment with this status can be released.
Declaration
public virtual bool IsReleaseable(OrderShipmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
OrderShipmentStatus | status |
Returns
Type | Description |
---|---|
System.Boolean | True if that shipment can be released. Otherwise, false. |