November Happy Hour will be moved to Thursday December 5th.

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: 13.30.0
Syntax
public class InMemoryShipment : IShipment, IExtendedProperties, IShipmentDiscountAmount, IShipmentCalculatedAmount

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

ParentOrderGroup

Gets the parent order group.

Declaration
public IOrderGroup ParentOrderGroup { get; }
Property Value
Type Description
IOrderGroup

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

IShipmentCalculatedAmount.IsShippingCostUpToDate

Gets or sets the flag indicating whether the ShippingCost is up-to-date.

Declaration
bool IShipmentCalculatedAmount.IsShippingCostUpToDate { get; set; }
Returns
Type Description
System.Boolean

IShipmentCalculatedAmount.IsShippingTaxUpToDate

Gets or sets the flag indicating whether the ShippingTax is up-to-date.

Declaration
bool IShipmentCalculatedAmount.IsShippingTaxUpToDate { get; set; }
Returns
Type Description
System.Boolean

IShipmentCalculatedAmount.ShippingCost

Gets or sets the shipping cost.

Declaration
decimal IShipmentCalculatedAmount.ShippingCost { get; set; }
Returns
Type Description
System.Decimal

IShipmentCalculatedAmount.ShippingTax

Gets or sets the shipping tax.

Declaration
decimal IShipmentCalculatedAmount.ShippingTax { get; set; }
Returns
Type Description
System.Decimal

IShipmentDiscountAmount.ShipmentDiscount

Gets or sets the shipment discount.

Declaration
decimal IShipmentDiscountAmount.ShipmentDiscount { get; set; }
Returns
Type Description
System.Decimal

Implements

Extension Methods

EPiServer.Commerce.Order.IShipmentExtensions.GetShippingCost(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.IMarket, Mediachase.Commerce.Currency)
EPiServer.Commerce.Order.IShipmentExtensions.GetShippingCost(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.IMarket, Mediachase.Commerce.Currency, EPiServer.Commerce.Order.IShippingCalculator)
EPiServer.Commerce.Order.IShipmentExtensions.GetShippingItemsTotal(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency)
EPiServer.Commerce.Order.IShipmentExtensions.GetShippingItemsTotal(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency, EPiServer.Commerce.Order.IShippingCalculator)
EPiServer.Commerce.Order.IShipmentExtensions.GetShippingReturnItemsTotal(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency)
EPiServer.Commerce.Order.IShipmentExtensions.GetShippingReturnItemsTotal(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency, EPiServer.Commerce.Order.IShippingCalculator)
EPiServer.Commerce.Order.IShipmentExtensions.GetShipmentDiscountPrice(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency)
EPiServer.Commerce.Order.IShipmentExtensions.GetShipmentDiscountPrice(EPiServer.Commerce.Order.IShipment, Mediachase.Commerce.Currency, EPiServer.Commerce.Order.IShippingCalculator)