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() 



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!