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

Delegate Cart.CreateOrderNumber

Delegate for generating custom order tracking number. Please look at OrderNumberMethod property for details on how it works.

Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public delegate string CreateOrderNumber(Cart cart);
Parameters
Type Name Description
Cart cart
Returns
Type Description
System.String

Constructors

CreateOrderNumber(Object, IntPtr)

Declaration
public CreateOrderNumber(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Cart, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(Cart cart, AsyncCallback callback, object object)
Parameters
Type Name Description
Cart cart
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual string EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.String

Invoke(Cart)

Declaration
public virtual string Invoke(Cart cart)
Parameters
Type Name Description
Cart cart
Returns
Type Description
System.String