virtual CartExtension.CheckoutCreateOrder

CheckoutCreateOrder class is the extension point which will be invoked by the connect Checkout Place Order API when converting the cart to an order.

Constructors 

global CheckoutCreateOrder() 

Default constructor


Methods 

global virtual CreateOrderResponse createOrder(CreateOrderRequest request) 

Creates an CartExtension.OrderGraph from the cart. Can be overridden with custom logic. To access the default implementation in the extended class, call super.createOrder().

Parameters 

ParamDescription
requestthe CartExtension.CreateOrderRequest to act on

Returns 

TypeDescription
CreateOrderResponsethe CartExtension.CreateOrderResponse object which contains an CartExtension.OrderGraph object

See Also

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!