CartExtension.CartTax

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

Constructor for CartTax object. All arguments are required.

ParamDescription
taxTypeInitial value for CartTax.TaxType.
amountInitial value for CartTax.Amount.
nameInitial value for CartTax.Name.

Get CartTax.Amount.

TypeDescription
Decimal

Set CartTax.Amount.

TypeDescription
void

Get CartTax.Description.

TypeDescription
String

Set CartTax.Description.

TypeDescription
void

Get CartTax.TaxType.

TypeDescription
TaxTypeEnumCartExtension.TaxTypeEnum

Get CartTax.TaxType.

TypeDescription
void

Get CartTax.TaxRate.

TypeDescription
String

Set CartTax.TaxRate.

TypeDescription
void

Get CartTax.Name.

TypeDescription
String

Set CartTax.Name.

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