Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Basket Class / Checkout Method
The checkout request.
Indicates whether or not to validate the basket prior to checkout.
This parameter is ignored.
In This Topic
    Checkout Method
    In This Topic
    Commits the contents of a basket to an order.
    Syntax
    [Obsolete("Use CheckoutService")]
    public virtual CheckoutResponse Checkout( 
       CheckoutRequest checkoutRequest,
       bool validate,
       bool triggerEvents
    )

    Parameters

    checkoutRequest
    The checkout request.
    validate
    Indicates whether or not to validate the basket prior to checkout.
    triggerEvents
    This parameter is ignored.

    Return Value

    The OrderId of the created order.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also