Class SerializableIdGenerator

This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.

Generates line item id, shipment id, order form id and order note id for serializable cart (new cart).

Inheritance
System.Object
SerializableIdGenerator
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: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class SerializableIdGenerator

Constructors

SerializableIdGenerator(SerializableCartDB)

Creates an instance of SerializableIdGenerator.

Declaration
public SerializableIdGenerator(SerializableCartDB serializableCartDB)
Parameters
Type Name Description
SerializableCartDB serializableCartDB

The serializable cart database access.

Methods

GetLineItemId()

Gets the latest line item id.

Declaration
public int GetLineItemId()
Returns
Type Description
System.Int32

GetOrderFormId()

Gets the latest order form id.

Declaration
public int GetOrderFormId()
Returns
Type Description
System.Int32

GetOrderNoteId()

Gets the latest order note id.

Declaration
public int GetOrderNoteId()
Returns
Type Description
System.Int32

GetShipmentId()

Gets the latest shipment id.

Declaration
public int GetShipmentId()
Returns
Type Description
System.Int32