CartExtension.CartValidationOutput

This Apex object represents an in-memory CartValidationOutput 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: CartValidationOutput

Constructor for CartValidationOutput object. All arguments are required. The WebCart.Id will be saved in CartValidationOutput.RelatedEntityId.

ParamDescription
typeInitial value for CartValidationOutput.Type.
levelInitial value for CartValidationOutput.Level.

Constructor for CartValidationOutput object. All arguments are required.

ParamDescription
typeInitial value for CartValidationOutput.Type.
levelInitial value for CartValidationOutput.Level.
cartDeliveryGroupInitial CartExtension.CartDeliveryGroup object related to this object. Its ID will be saved in CartValidationOutput.RelatedEntityId.

Constructor for CartValidationOutput object. All arguments are required.

ParamDescription
typeInitial value for CartValidationOutput.Type.
levelInitial value for CartValidationOutput.Level.
cartItemInitial CartExtension.CartItem object related to this object. Its ID will be saved in CartValidationOutput.RelatedEntityId.

Constructor for CartValidationOutput object. All arguments are required.

ParamDescription
typeInitial value for CartValidationOutput.Type.
levelInitial value for CartValidationOutput.Level.
cartTaxInitial CartExtension.CartTax object related to this object. Its ID will be saved in CartValidationOutput.RelatedEntityId.

Get CartValidationOutput.Type.

TypeDescription
CartValidationOutputTypeEnumCartExtension.CartValidationOutputTypeEnum

Get CartValidationOutput.Level.

TypeDescription
CartValidationOutputLevelEnumCartExtension.CartValidationOutputLevelEnum

Set CartValidationOutput.Type.

TypeDescription
void

Set CartValidationOutput.Level.

TypeDescription
void

Get CartValidationOutput.Message.

TypeDescription
String

Set CartValidationOutput.Message.

TypeDescription
void

Get CartValidationOutput.IsDismissed.

TypeDescription
Boolean

Get CartValidationOutput.IsDismissed.

TypeDescription
void

Get CartValidationOutput.RelatedEntityId.

TypeDescription
IDID of related entity. Can be "null" if related entity for this CartValidationOutput has been created during processing of the current request and has not been saved into the DB yet.

Inherited

Get Id.

TypeDescription
ID

Inherited

Get System Field CreatedDate.

TypeDescription
Datetime

Inherited

Get System Field LastModifiedDate.

TypeDescription
Datetime

Inherited

Get System Field CreatedById.

TypeDescription
ID

Inherited

Get System Field LastModifiedById.

TypeDescription
ID

Inherited

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

TypeDescription
Object

Inherited

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

TypeDescription
void

Inherited

Inherited