ExamGecko
Question list
Search
Search

Question 101 - Certified B2B Commerce Developer discussion

Report
Export

What interface must a developer implement to override Tax in Checkout?

A.
sfdc.checkout.CartTaxCalculations
Answers
A.
sfdc.checkout.CartTaxCalculations
B.
sfdc.commerce.TaxCalculations
Answers
B.
sfdc.commerce.TaxCalculations
C.
sfdc_commerce.CartTaxCalculations
Answers
C.
sfdc_commerce.CartTaxCalculations
D.
sfdc_checkout.TaxCalculations
Answers
D.
sfdc_checkout.TaxCalculations
E.
sfdc.commerce.CheckoutTaxCalculations
Answers
E.
sfdc.commerce.CheckoutTaxCalculations
Suggested answer: D

Explanation:

To override tax in checkout, a developer must implement the sfdc_checkout.TaxCalculations interface. The sfdc_checkout.TaxCalculations interface is an Apex interface that provides methods for customizing the tax calculation logic for a cart or an order. The interface allows the developer to define how to retrieve tax rates and rules, how to apply tax amounts and adjustments, and how to handle tax errors and exceptions. The developer can use the sfdc_checkout.TaxCalculations interface to integrate with a third-party tax service provider or to implement their own tax calculation logic. The other interfaces do not exist or are not related to tax calculation. Salesforce

Reference:B2B Commerce Developer Guide: Tax Integration,B2B Commerce Developer Guide: Tax Calculations Interface

asked 23/09/2024
Reinhard KOhl
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first