Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Accredited B2B Commerce Developer Professional (AP-202) Exam - Topic 1 Question 96 Discussion

Universal Containers (UC) is ready to build a tax provider class using the interfaces available in the Buyer Experience SDK. When creating a tax provider, what are three things that a developer should consider first?
A) Steps to complete in the Tax Service and B) How to handle results and D) What to implement
C) WhethertouseJSONorXML
E) What events to fire in the Lightning web component

Salesforce Accredited B2B Commerce Developer Professional (AP-202) Exam - Topic 1 Question 96 Discussion

Actual exam question for Salesforce's Salesforce Accredited B2B Commerce Developer Professional (AP-202) exam
Question #: 96
Topic #: 1
[All Salesforce Accredited B2B Commerce Developer Professional (AP-202) Questions]

Universal Containers (UC) is ready to build a tax provider class using the interfaces available in the Buyer Experience SDK. When creating a tax provider, what are three things that a developer should consider first?

Show Suggested Answer Hide Answer
Suggested Answer: A, B, D

When creating a tax provider, three things that a developer should consider first are: steps to complete in the tax service, how to handle results, and what to implement. Steps to complete in the tax service are the actions that the developer needs to perform to connect to and use the third-party tax service provider's API or service. These steps may include authentication, authorization, request formatting, response parsing, error handling, and logging. How to handle results are the actions that the developer needs to perform to process and apply the tax calculation results from the tax service to the cart or order. These actions may include creating or updating cart items with type of Charge and charge type of Tax, applying tax adjustments or exemptions, and displaying tax amounts and details on the storefront. What to implement are the methods that the developer needs to define in their custom Apex class that implements the sfdc_checkout.TaxCalculations interface. The interface provides methods for customizing the tax calculation logic for a cart or an order, such as getTaxRatesAndRules, applyTaxAmountsAndAdjustments, and handleTaxErrorsAndExceptions. Whether to use JSON or XML is not something that the developer should consider first, as it is not a critical or relevant factor for creating a tax provider. It may depend on the format that the tax service provider supports or prefers, but it does not affect the overall functionality or performance of the tax integration. What events to fire in the Lightning web component is not something that the developer should consider first either, as it is not related to creating a tax provider. It may be an optional feature that the developer can add to enhance the user interface or user experience of their storefront, but it does not affect the core logic or functionality of the tax integration. Salesforce Reference:B2B Commerce Developer Guide: Tax Integration, [B2B Commerce Developer Guide: Tax Calculations Interface]


Contribute your Thoughts:

0/2000 characters
Lenna
5 days ago
True, but if we don’t fire the right events, it could break functionality.
upvoted 0 times
...
Willow
10 days ago
D is key too. What to implement sets the direction for the whole project.
upvoted 0 times
...
Izetta
15 days ago
C is a tough choice. JSON or XML can change how we process data.
upvoted 0 times
...
Lucina
20 days ago
Agreed, but B is also important. Handling results can affect user experience.
upvoted 0 times
...
Lenna
25 days ago
I think A is crucial. Steps to complete in the Tax Service are foundational.
upvoted 0 times
...
King
1 month ago
Good point about the implementation details, can't overlook that!
upvoted 0 times
...
Delsie
1 month ago
I disagree, I’d prioritize what events to fire in the Lightning component.
upvoted 0 times
...
Augustine
1 month ago
Wait, why is JSON vs XML even a question? Seems obvious!
upvoted 0 times
...
Launa
2 months ago
I think the steps in the Tax Service are crucial too.
upvoted 0 times
...
Denna
2 months ago
Definitely need to consider how to handle results first!
upvoted 0 times
...
Jess
2 months ago
Events in the Lightning web component seem important too, but I wonder if they should come after deciding what to implement.
upvoted 0 times
...
Lajuana
2 months ago
I feel like the choice between JSON and XML could impact performance, but I can't recall if it's one of the main considerations.
upvoted 0 times
...
Nidia
2 months ago
I think we had a practice question that mentioned the steps to complete in the Tax Service. That might be crucial to consider first.
upvoted 0 times
...
Ling
2 months ago
I remember we discussed the importance of handling results properly, but I'm not sure if that's the top priority.
upvoted 0 times
...

Save Cancel