virtual CartExtension.CartCalculateCalculatorRequest

Request object that is passed into the calculate method of the various calculators.

Constructors 

global CartCalculateCalculatorRequest(Cart cart, OptionalBuyerActionDetails optionalBuyerActionDetails) 

Constructor for CartCalculateCalculatorRequest with a Cart and BuyerActionDetails.

Parameters 

ParamDescription
CartCart object to contain in the request.
OptionalBuyerActionDetails’BuyerActionDetails’ object to contain in request

Methods 

global Cart getCart() 

Returns the CartExtension.Cart object contained in the request.

Returns 

TypeDescription
CartCart

global OptionalBuyerActionDetails getOptionalBuyerActionDetails() 

Returns the CartExtension.OptionalBuyerActionDetails object contained in the request.

Returns 

TypeDescription
OptionalBuyerActionDetailsOptionalBuyerActionDetails

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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