CartExtension.CartAdjustmentGroup

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

Constructor for CartAdjustmentGroup object. All arguments are required.

ParamDescription
cartAdjustmentTargetTypeEnumInitial value for CartAdjustmentGroup.AdjustmentTargetType.
adjustmentSourceInitial value for CartAdjustmentGroup.AdjustmentSource.
adjustmentTypeInitial value for CartAdjustmentGroup.AdjustmentType.
adjustmentValueInitial value for CartAdjustmentGroup.AdjustmentValue.
priceAdjustmentCauseIdInitial value for CartAdjustmentGroup.PriceAdjustmentCauseId (type Coupon).

Get WebCartAdjustmentGroup.Priority.

TypeDescription
Integer

Set WebCartAdjustmentGroup.Priority.

TypeDescription
void

Get WebCartAdjustmentGroup.Description.

TypeDescription
String

Set WebCartAdjustmentGroup.Description.

TypeDescription
void

Get WebCartAdjustmentGroup.AdjustmentValue.

TypeDescription
Decimal

Set WebCartAdjustmentGroup.AdjustmentValue.

TypeDescription
void

Get WebCartAdjustmentGroup.TotalAmount.

TypeDescription
Decimal

Set WebCartAdjustmentGroup.TotalAmount.

TypeDescription
void

Get WebCartAdjustmentGroup.AdjustmentType.

TypeDescription
AdjustmentTypeEnumCartExtension.AdjustmentTypeEnum

Get WebCartAdjustmentGroup.PriceAdjustmentCauseId.

TypeDescription
ID

Get WebCartAdjustmentGroup.AdjustmentBasisReferenceId.

TypeDescription
ID

Set WebCartAdjustmentGroup.AdjustmentBasisReferenceId.

TypeDescription
void

Get WebCartAdjustmentGroup.AdjustmentSource.

TypeDescription
PriceAdjustmentSourceEnumCartExtension.PriceAdjustmentSourceEnum

Get WebCartAdjustmentGroup.AdjustmentTargetType.

TypeDescription
CartAdjustmentTargetTypeEnumCartExtension.CartAdjustmentTargetTypeEnum

Get Id.

TypeDescription
ID

Get value of the given custom field (needs to be api name)

TypeDescription
Object

Set the value of the given custom field (needs to be api name)

TypeDescription
void