commercestoretax.TaxService

Apex class for Tax Service.

Methods 

global virtual GetStoreTaxesInfoResponse processGetStoreTaxesInfo(GetStoreTaxesInfoRequest request) 

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

Parameters 

ParamDescription
requestThe input request contains Product Ids, Ship-to-Address and other information.

Returns 

TypeDescription
GetStoreTaxesInfoResponseTaxation information configured for this web store.

Example 

1TaxService.processGetStoreTaxesInfo(getStoreTaxesInfoRequest);

global virtual CalculateTaxesResponse processCalculateTaxes(CalculateTaxesRequest request) 

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

Parameters 

ParamDescription
requestThe input request contains CalculateTaxesRequestItemGroup and other information.

Returns 

TypeDescription
CalculateTaxesResponseCalculate taxes response

Example 

1TaxService.processCalculateTaxes(calculateTaxesRequest);

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!