CartExtension.CartDeliveryGroupChange

Object that may contain data about a changed CartDeliveryGroup, that can be used to optimize the business logic in custom calculators.

Constructors 

global CartDeliveryGroupChange(OptionalCartDeliveryGroup optionalCartDeliveryGroup) 

Constructor for CartDeliveryGroupChange object to be used only in Apex unit test. All arguments are required.

Parameters 

ParamDescription
OptionalCartDeliveryGroupProvides the changed cart delivery group

Methods 

global OptionalCartDeliveryGroup getChangedDeliveryGroup() 

Get the changed DeliveryGroup

Returns 

TypeDescription
OptionalCartDeliveryGroupOptionalCartDeliveryGroup

Classes 

Builder 

Builds an instance of CartDeliveryGroupChange. This should only be used for Apex unit testing.

Constructors 

global Builder() 


Methods 

global Builder withChangedDeliveryGroup(OptionalCartDeliveryGroup optionalCartDeliveryGroup) 

global CartDeliveryGroupChange build() 



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!