Delegate PaymentPlan.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: 10.8.0
Syntax
public delegate string CreateOrderNumber(PaymentPlan cart);
Parameters
Type Name Description
PaymentPlan 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(PaymentPlan, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(PaymentPlan cart, AsyncCallback callback, object object)
Parameters
Type Name Description
PaymentPlan 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(PaymentPlan)

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