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.
| 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). |
Get WebCartAdjustmentGroup.Priority.
| Type | Description |
|---|---|
Integer |
Set WebCartAdjustmentGroup.Priority.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.Description.
| Type | Description |
|---|---|
String |
Set WebCartAdjustmentGroup.Description.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.AdjustmentValue.
| Type | Description |
|---|---|
Decimal |
Set WebCartAdjustmentGroup.AdjustmentValue.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.TotalAmount.
| Type | Description |
|---|---|
Decimal |
Set WebCartAdjustmentGroup.TotalAmount.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.AdjustmentType.
| Type | Description |
|---|---|
AdjustmentTypeEnum | CartExtension.AdjustmentTypeEnum |
Get WebCartAdjustmentGroup.PriceAdjustmentCauseId.
| Type | Description |
|---|---|
ID |
Set WebCartAdjustmentGroup.PriceAdjustmentCauseId.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.AdjustmentBasisReferenceId.
| Type | Description |
|---|---|
ID |
Set WebCartAdjustmentGroup.AdjustmentBasisReferenceId.
| Type | Description |
|---|---|
void |
Get WebCartAdjustmentGroup.AdjustmentSource.
| Type | Description |
|---|---|
PriceAdjustmentSourceEnum | CartExtension.PriceAdjustmentSourceEnum |
Get WebCartAdjustmentGroup.AdjustmentTargetType.
| Type | Description |
|---|---|
CartAdjustmentTargetTypeEnum | CartExtension.CartAdjustmentTargetTypeEnum |
Get Id.
| Type | Description |
|---|---|
ID |
Get System Field CreatedDate.
| Type | Description |
|---|---|
Datetime |
Get System Field LastModifiedDate.
| Type | Description |
|---|---|
Datetime |
Get System Field CreatedById.
| Type | Description |
|---|---|
ID |
Get System Field LastModifiedById.
| Type | Description |
|---|---|
ID |
Get value of the given custom field (needs to be api name)
| Type | Description |
|---|---|
Object |
Set the value of the given custom field (needs to be api name)
| Type | Description |
|---|---|
void |