RuleDetailsResponse Class

Contains details about the tax rules used for tax calculation.

CommerceTax

Learn more about the available methods with the RuleDetailsResponse class.

The RuleDetailsResponse includes these methods.

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

global void RuleDetailsResponse()

Type: void

Sets the NonTaxableRuleId field of the RuleDetailsResponse.

global void setNonTaxableRuleId(String nonTaxableRuleId)

  • nonTaxableRuleId:

    Type: String

    ID of the tax rule applied to non-taxable line items.

Type: void

Sets the NonTaxableType field of the RuleDetailsResponse.

global void setNonTaxableType(String nonTaxableType)

  • nonTaxableType:

    Type: String

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

Type: void

Sets the RateRuleId field of the RuleDetailsResponse.

global void setRateRuleId(String rateRuleId)

  • rateRuleId:

    Type: String

    ID of the tax rule used to determine a tax rate.

Type: void

Sets the RateSourceId field on the RuleDetailsResponse.

global void setRateSourceId(String rateSourceId)

  • rateSourceId:

    Type: String

    ID of the source object used for calculating tax rate.

Type: void