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.

Default constructor


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().

ParamDescription
requestthe CartExtension.CreateOrderRequest to act on
TypeDescription
CreateOrderResponsethe CartExtension.CreateOrderResponse object which contains an CartExtension.OrderGraph object