ExamGecko
Question list
Search
Search

List of questions

Search

Question 232 - Certified B2B Commerce Administrator discussion

Report
Export

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
Answers
A.
Steps to complete in the Tax Service
B.
How to handle results
Answers
B.
How to handle results
C.
Whether to use JSON or XML
Answers
C.
Whether to use JSON or XML
D.
What to implement
Answers
D.
What to implement
E.
What events to fire in the Lightning web component
Answers
E.
What events to fire in the Lightning web component
Suggested answer: A, B, D

Explanation:

When creating a tax provider class using the interfaces available in the Buyer Experience SDK, the developer should consider the following things first:

Steps to complete in the Tax Service. The developer should decide what steps are required to calculate and apply taxes to an order, such as validating the address, requesting a tax quote, committing the tax transaction, and so on. The developer should also consider how to handle errors or exceptions that may occur during these steps.

How to handle results. The developer should determine how to process and store the results returned by the tax provider, such as the tax amount, the tax rate, the tax code, and any other relevant information. The developer should also decide how to display these results to the buyer and the seller in the storefront and the order management system.

What to implement. The developer should implement the ITaxProvider interface and its methods, such as getTaxQuote, commitTaxTransaction, cancelTaxTransaction, and so on. The developer should also implement any custom logic or configuration required by the tax provider, such as authentication, headers, parameters, endpoints, and so on.Reference:

Create a Tax Provider

Buyer Experience SDK Developer Guide

asked 23/09/2024
Alpesh Panchal
20 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first