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