CartExtension.CartItemPriceAdjustment
This Apex object represents an in-memory CartItemPriceAdjustment
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: CartItemPriceAdjustment
Constructor for CartItemPriceAdjustment
object. All arguments are required.
Param | Description |
---|---|
cartAdjustmentTargetTypeEnum | Initial value for CartItemPriceAdjustment.AdjustmentTargetType . |
totalAmount | Initial value for CartItemPriceAdjustment.TotalAmount . |
adjustmentSource | Initial value for CartItemPriceAdjustment.AdjustmentSource . |
adjustmentType | Initial value for CartItemPriceAdjustment.AdjustmentType . |
adjustmentValue | Initial value for CartItemPriceAdjustment.AdjustmentValue . |
priceAdjustmentCauseId | Initial value for CartItemPriceAdjustment.PriceAdjustmentCauseId (type Promotion). |
Get CartItemPriceAdjustment.Name
.
Type | Description |
---|---|
String |
Get CartItemPriceAdjustment.Priority
.
Type | Description |
---|---|
Integer |
Set CartItemPriceAdjustment.Priority
.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.Description
.
Type | Description |
---|---|
String |
Set CartItemPriceAdjustment.Description
.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.AdjustmentValue
.
Type | Description |
---|---|
Decimal |
Set CartItemPriceAdjustment.AdjustmentValue
.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.TotalAmount
.
Type | Description |
---|---|
Decimal |
Set CartItemPriceAdjustment.TotalAmount
.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.AdjustmentType
.
Type | Description |
---|---|
AdjustmentTypeEnum | CartExtension.AdjustmentTypeEnum |
Get CartItemPriceAdjustment.AdjustmentTargetType
.
Type | Description |
---|---|
CartAdjustmentTargetTypeEnum | CartExtension.CartAdjustmentTargetTypeEnum |
Get CartItemPriceAdjustment.AdjustmentAmountScope
.
Type | Description |
---|---|
AdjustmentAmountScopeEnum | CartExtension.AdjustmentAmountScopeEnum |
Set CartItemPriceAdjustment.AdjustmentAmountScope
.
Type | Description |
---|---|
void |
Get the CartExtension.CartAdjustmentGroup object whose ID was saved in CartItemPriceAdjustment.WebCartAdjustmentGroupId
.
Type | Description |
---|---|
CartAdjustmentGroup | CartExtension.CartAdjustmentGroup |
Set the related CartExtension.CartAdjustmentGroup object whose ID is stored in CartItemPriceAdjustment.WebCartAdjustmentGroupId
on save.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.PriceAdjustmentCauseId
.
Type | Description |
---|---|
ID |
Set CartItemPriceAdjustment.PriceAdjustmentCauseId
.
Type | Description |
---|---|
void |
Get CartItemPriceAdjustment.AdjustmentBasisReferenceId
.
Type | Description |
---|---|
ID |
Set CartItemPriceAdjustment.AdjustmentBasisReferenceId
.
Type | Description |
---|---|
void |
Get all the related CartExtension.CartTax objects.
Type | Description |
---|---|
CartTaxList | CartExtension.CartTaxList |
Get CartItemPriceAdjustment.AdjustmentSource
.
Type | Description |
---|---|
PriceAdjustmentSourceEnum | CartExtension.PriceAdjustmentSourceEnum |
Get CartItemPriceAdjustment.TotalTax
.
Type | Description |
---|---|
Decimal |
Get CartItemPriceAdjustment.TotalGrossAmount
.
Type | Description |
---|---|
Decimal |
Get CartItemPriceAdjustment.TotalNetAmount
.
Type | Description |
---|---|
Decimal |
Inherited
Get Id
.
Type | Description |
---|---|
ID |
Inherited
Get System Field CreatedDate
.
Type | Description |
---|---|
Datetime |
Inherited
Get System Field LastModifiedDate
.
Type | Description |
---|---|
Datetime |
Inherited
Get System Field CreatedById
.
Type | Description |
---|---|
ID |
Inherited
Get System Field LastModifiedById
.
Type | Description |
---|---|
ID |
Inherited
Get value of the given custom field (needs to be api name)
Type | Description |
---|---|
Object |
Inherited
Set the value of the given custom field (needs to be api name)
Type | Description |
---|---|
void |
Inherited
Inherited