ExamGecko
Question list
Search
Search

List of questions

Search

Question 174 - Certified B2B Commerce Administrator discussion

Report
Export

A developer has been working on the flow of an Inventory Class for checkout. The developer has handled all the error states and now needs to indicate that inventory is available for all items and amounts in the cart.

Which step should happen next?

A.
Return sfdc.checkout.lntegrationStatus.Status.SUCCESS
Answers
A.
Return sfdc.checkout.lntegrationStatus.Status.SUCCESS
B.
Return TRUE
Answers
B.
Return TRUE
C.
Return sfdc.checkoutJnventoryStatus.Status.SUCCESS
Answers
C.
Return sfdc.checkoutJnventoryStatus.Status.SUCCESS
D.
Return sfdc.checkout.lnventoryStatus.SUCCESS
Answers
D.
Return sfdc.checkout.lnventoryStatus.SUCCESS
Suggested answer: A

Explanation:

To indicate that inventory is available for all items and amounts in the cart, the developer must return sfdc.checkout.IntegrationStatus.Status.SUCCESS from the inventory class. This is a predefined constant that represents a successful inventory check result. If the inventory class returns any other value, such as sfdc.checkout.IntegrationStatus.Status.FAILURE or sfdc.checkout.IntegrationStatus.Status.PARTIAL, the checkout process will be blocked or modified accordingly.Reference:Create an Inventory Class,Check Inventory at Checkout, B2B Commerce for Visualforce Developer Guide

asked 23/09/2024
Irving Indian
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first