Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/19 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

commercestoretax.TaxService

Apex class for Tax Service.

Given a commercestoretax.GetStoreTaxesInfoRequest, return the commercestoretax.GetStoreTaxesInfoResponse that fetches the taxation information in the context of web store and ship-to-address.

ParamDescription
requestThe input request contains Product Ids, Ship-to-Address and other information.
TypeDescription
GetStoreTaxesInfoResponseTaxation information configured for this web store.

Given a commercestoretax.CalculateTaxesRequest, return the commercestoretax.CalculateTaxesResponse that represents the calculated tax values for the given products.

ParamDescription
requestThe input request contains CalculateTaxesRequestItemGroup and other information.
TypeDescription
CalculateTaxesResponseCalculate taxes response