virtual CartExtension.BuyerActions

This Apex object exposes information about the buyer interactions that have happened with the CartExtension.Cart since the last calculation run. It allows custom orchestration implementation, based on CartCalculate, to use getBuyerActions() from the CartExtension.CartCalculateOrchestratorRequest object to choose which calculators to run.
To write Apex tests, use CartExtension.BuyerActionsMock.

Returns true if the buyer has created, updated, or deleted a cart item, false otherwise.

TypeDescription
Boolean

Returns true if the buyer has started checkout, false otherwise.

TypeDescription
Boolean

Returns true if the buyer has created, updated, or deleted a coupon, false otherwise.

TypeDescription
Boolean

Returns true if the buyer has selected a delivery method, false otherwise.

TypeDescription
Boolean

Returns true if the buyer has created, updated, or deleted a delivery group, false otherwise.

TypeDescription
Boolean

Returns true if the buyer has requested a complete calculation for the cart, false otherwise. Possible calculations include computing prices, evaluating promotions, checking the inventory, computing shipping costs, evaluating shipping promotions, applying post shipping adjustments, and computing taxes.

TypeDescription
Boolean