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.

Methods 

global virtual Boolean isCheckoutStarted() 

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

Returns 

TypeDescription
Boolean

global virtual Boolean isDeliveryMethodSelected() 

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

Returns 

TypeDescription
Boolean

global virtual Boolean isDeliveryGroupChanged() 

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

Returns 

TypeDescription
Boolean

global virtual Boolean isCartItemChanged() 

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

Returns 

TypeDescription
Boolean

global virtual Boolean isCouponChanged() 

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

Returns 

TypeDescription
Boolean

Newer Version Available

This content describes an older version of this product. View Latest

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