Class InMemoryShipment
This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.
Inheritance
System.Object
InMemoryShipment
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: EPiServer.Commerce.Order.Internal
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class InMemoryShipment : IShipment, IExtendedProperties, IShipmentDiscountAmount
Constructors
InMemoryShipment()
Initializes a new instance of an InMemoryShipment.
Declaration
public InMemoryShipment()
InMemoryShipment(IShipment)
Initializes a new instance of an InMemoryShipment, with same values as the specified IShipment.
Declaration
public InMemoryShipment(IShipment shipment)
Parameters
Type | Name | Description |
---|---|---|
IShipment | shipment |
Properties
LineItems
Gets the collection of line items.
Declaration
public ICollection<ILineItem> LineItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<ILineItem> |
OrderShipmentStatus
Gets or sets the order shipment status.
Declaration
public OrderShipmentStatus OrderShipmentStatus { get; set; }
Property Value
Type | Description |
---|---|
OrderShipmentStatus |
PickListId
Gets or sets the pick list id.
Declaration
public int? PickListId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Properties
Gets the property bag for dealing with custom meta fields.
Declaration
public Hashtable Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable |
ShipmentId
Gets the shipment identifier.
Declaration
public int ShipmentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ShipmentTrackingNumber
Gets or sets a string used for tracking the shipment.
Declaration
public string ShipmentTrackingNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShippingAddress
Gets or sets the shipping address.
Declaration
public IOrderAddress ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
IOrderAddress |
ShippingMethodId
Gets or sets the shipment method used by the shipment.
Declaration
public Guid ShippingMethodId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ShippingMethodName
Gets the name of the shipping method.
Declaration
public string ShippingMethodName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WarehouseCode
Gets or sets the warehouse code.
Declaration
public string WarehouseCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Explicit Interface Implementations
IShipmentDiscountAmount.ShipmentDiscount
Gets or sets the shipment discount.
Declaration
decimal IShipmentDiscountAmount.ShipmentDiscount { get; set; }
Returns
Type | Description |
---|---|
System.Decimal |