CartExtension.Cart

This Apex object represents an in-memory WebCart 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.
To write Apex tests, use CartExtension.CartTestUtil.
See Object Reference: WebCart

Get WebCart.Name.

TypeDescription
String

Set WebCart.Name.

TypeDescription
void

Get WebCart.WebStoreId.

TypeDescription
ID

Get WebCart.AccountId.

TypeDescription
ID

Get WebCart.OwnerId.

TypeDescription
ID

Get WebCart.Status.

TypeDescription
CartStatusEnumCartExtension.CartStatusEnum

Get WebCart.CurrencyIsoCode.

TypeDescription
String

Get WebCart.TotalListAmount.

TypeDescription
Decimal

Get WebCart.TotalProductAmount.

TypeDescription
Decimal

Get WebCart.TotalChargeAmount.

TypeDescription
Decimal

Get WebCart.TotalCartLevelAdjAmount.

TypeDescription
Decimal

Get WebCart.TotalProductItemAdjAmount.

TypeDescription
Decimal

Get WebCart.OrderReferenceNumber.

TypeDescription
String

Get WebCart.GuestEmailAddress.

TypeDescription
String

Set WebCart.GuestEmailAddress.

TypeDescription
void

Get WebCart.GuestPhoneNumer.

TypeDescription
String

Set WebCart.GuestPhoneNumer.

TypeDescription
void

Get WebCart.GuestFirstName.

TypeDescription
String

Set WebCart.GuestFirstName.

TypeDescription
void

Get WebCart.GuestLastName.

TypeDescription
String

Set WebCart.GuestLastName.

TypeDescription
void

Get WebCart.GuestSecondName.

TypeDescription
String

Set WebCart.GuestSecondName.

TypeDescription
void

Get WebCart.PoNumber.

TypeDescription
String

Set WebCart.PoNumber.

TypeDescription
void

Get WebCart.PaymentMethodId.

TypeDescription
ID

Set WebCart.PaymentMethodId.

TypeDescription
void

Get WebCart.PaymentGroupId.

TypeDescription
ID

Set WebCart.PaymentGroupId.

TypeDescription
void

Get WebCart.TotalAmountAfterAllAdjustments.

TypeDescription
Decimal

Get WebCart.TotalProductCount.

TypeDescription
Decimal

Get WebCart.TotalTaxAmount.

TypeDescription
Decimal

Get WebCart.TotalPromoAdjustmentAmount.

TypeDescription
Decimal

Get WebCart.GrandTotalAmount.

TypeDescription
Decimal

Get WebCart.BillingAddress.

TypeDescription
Address

Get all the related CartExtension.CartItem objects.

TypeDescription
CartItemListCartExtension.CartItemList

Get all the related CartExtension.CartValidationOutput objects.

TypeDescription
CartValidationOutputListCartExtension.CartValidationOutputList

Get all the related CartExtension.CartAdjustmentGroup objects.

TypeDescription
CartAdjustmentGroupListCartExtension.CartAdjustmentGroupList

Get all the related CartExtension.CartAdjustmentBasis objects.

TypeDescription
CartAdjustmentBasisListCartExtension.CartAdjustmentBasisList

Get all the related CartExtension.CartDeliveryGroup objects.

TypeDescription
CartDeliveryGroupListCartExtension.CartDeliveryGroupList

Get WebCart.TaxType.

TypeDescription
TaxLocaleTypeEnumCartExtension.TaxLocaleTypeEnum

Get WebCart.IsSecondary.

TypeDescription
Boolean

Get WebCart.GuestCompanyName.

TypeDescription
String

Set WebCart.GuestCompanyName.

TypeDescription
void

Get WebCart.TotalProductListAmount.

TypeDescription
Decimal

Get WebCart.TotalSubProductCount.

TypeDescription
Decimal

Get WebCart.FirstPymtGrandTotalAmount.

TypeDescription
Decimal

Get WebCart.FirstPymtTotalTaxAmount.

TypeDescription
Decimal

Get WebCart.InventoryReservationIdentifier.

TypeDescription
String

Set WebCart.InventoryReservationIdentifier.

TypeDescription
void

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