CartExtension.BuyerActionsMock

ISTEST

This Apex object is a mocked version of CartExtension.BuyerActions to be used in Apex tests.

> BuyerActionsMock

Constructors 

global BuyerActionsMock(Cart cart) 

For test context only


Methods 

Getters and setters for each action defined in BuyerActions. 

global override Boolean isCheckoutStarted() 

global void setCheckoutStarted(Boolean value) 

global override Boolean isDeliveryMethodSelected() 

global void setDeliveryMethodSelected(Boolean value) 

global override Boolean isDeliveryGroupChanged() 

global void setDeliveryGroupChanged(Boolean value) 

global override Boolean isCartItemChanged() 

global void setCartItemChanged(Boolean value) 

global override Boolean isCouponChanged() 

global void setCouponChanged(Boolean value) 


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!