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