CartExtension.CartCalculateOrchestratorRequest

Request object that is passed into [CartExtension.CartCalculate](./CartCalculate.md).calculate().

Constructors 

global CartCalculateOrchestratorRequest(Cart cart, BuyerActionsMock buyerActions, OptionalBuyerActionDetails optionalBuyerActionDetails) 

Constructor for CartCalculateOrchestratorRequest.

Parameters 

ParamDescription
cartCart object to contain in the request.
buyerActionsBuyerActionsMock object to contain in the request.
optionalBuyerActionDetailsOptionalBuyerActionDetails object to contain in the request.

Methods 

global Cart getCart() 

Returns the CartExtension.Cart object contained in the request.

Returns 

TypeDescription
CartCart

global BuyerActions getBuyerActions() 

Returns the CartExtension.BuyerActions object contained in the request.

Returns 

TypeDescription
BuyerActionsBuyerActions

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!