This Apex object represents an in-memory WebCartAdjustmentGroup record and its relationships with other records. All formula and roll-up summary standard fields are updated at runtime. Loading and saving this object is not possible in Apex but is done by Salesforce.
See Object Reference: WebCartAdjustmentGroup
Constructors
global CartAdjustmentGroup(CartAdjustmentTargetTypeEnum cartAdjustmentTargetTypeEnum, PriceAdjustmentSourceEnum adjustmentSource, AdjustmentTypeEnum adjustmentType, Decimal adjustmentValue, ID priceAdjustmentCauseId)
Constructor for CartAdjustmentGroup object. All arguments are required.
Parameters
Param
Description
cartAdjustmentTargetTypeEnum
Initial value for CartAdjustmentGroup.AdjustmentTargetType.
adjustmentSource
Initial value for CartAdjustmentGroup.AdjustmentSource.
adjustmentType
Initial value for CartAdjustmentGroup.AdjustmentType.
adjustmentValue
Initial value for CartAdjustmentGroup.AdjustmentValue.
priceAdjustmentCauseId
Initial value for CartAdjustmentGroup.PriceAdjustmentCauseId (type Coupon).
Methods
global Integer getPriority()
Get WebCartAdjustmentGroup.Priority.
Returns
Type
Description
Integer
global void setPriority(Integer priority)
Set WebCartAdjustmentGroup.Priority.
Returns
Type
Description
void
global String getDescription()
Get WebCartAdjustmentGroup.Description.
Returns
Type
Description
String
global void setDescription(String description)
Set WebCartAdjustmentGroup.Description.
Returns
Type
Description
void
global Decimal getAdjustmentValue()
Get WebCartAdjustmentGroup.AdjustmentValue.
Returns
Type
Description
Decimal
global void setAdjustmentValue(Decimal adjustmentValue)