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.
| Param | Description |
|---|---|
taxType | Initial value for CartTax.TaxType. |
amount | Initial value for CartTax.Amount. |
name | Initial value for CartTax.Name. |
Get CartTax.Amount.
| Type | Description |
|---|---|
Decimal |
Set CartTax.Amount.
| Type | Description |
|---|---|
void |
Get CartTax.Description.
| Type | Description |
|---|---|
String |
Set CartTax.Description.
| Type | Description |
|---|---|
void |
Get CartTax.TaxType.
| Type | Description |
|---|---|
TaxTypeEnum | CartExtension.TaxTypeEnum |
Get CartTax.TaxType.
| Type | Description |
|---|---|
void |
Get CartTax.TaxRate.
| Type | Description |
|---|---|
String |
Set CartTax.TaxRate.
| Type | Description |
|---|---|
void |
Get CartTax.Name.
| Type | Description |
|---|---|
String |
Set CartTax.Name.
| Type | Description |
|---|---|
void |
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 |