RuleDetailsResponse Class

Contains details about the tax rules used for tax calculation.

Namespace

CommerceTax

RuleDetailsResponse Methods

Learn more about the available methods with the RuleDetailsResponse class.

The RuleDetailsResponse includes these methods.

RuleDetailsResponse()

Contains information about the tax rules used when calculating tax for line items.

Signature

global void RuleDetailsResponse()

Return Value

Type: void

setNonTaxableRuleId(nonTaxableRuleId)

Sets the NonTaxableRuleId field of the RuleDetailsResponse.

Signature

global void setNonTaxableRuleId(String nonTaxableRuleId)

Parameters

nonTaxableRuleId
Type: String
ID of the tax rule applied to non-taxable line items.

Return Value

Type: void

setNonTaxableType(nonTaxableType)

Sets the NonTaxableType field of the RuleDetailsResponse.

Signature

global void setNonTaxableType(String nonTaxableType)

Parameters

nonTaxableType
Type: String
Reason (from several possible types) that a line item is non-taxable.

Return Value

Type: void

setRateRuleId(rateRuleId)

Sets the RateRuleId field of the RuleDetailsResponse.

Signature

global void setRateRuleId(String rateRuleId)

Parameters

rateRuleId
Type: String
ID of the tax rule used to determine a tax rate.

Return Value

Type: void

setRateSourceId(rateSourceId)

Sets the RateSourceId field on the RuleDetailsResponse.

Signature

global void setRateSourceId(String rateSourceId)

Parameters

rateSourceId
Type: String
ID of the source object used for calculating tax rate.

Return Value

Type: void