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 started checkout, false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has selected a delivery method, false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has created, updated, or deleted a delivery group, false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has created, updated, or deleted a cart item, false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has created, updated, or deleted a coupon, false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has requested all calculations to be performed on the cart,false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has requested shipping evaluations to be performed on the cart,false
otherwise.
Type | Description |
---|---|
Boolean |
Returns true
if the buyer has requested tax evaluations to be performed on the cart,false
otherwise.
Type | Description |
---|---|
Boolean |