Exam4Training

Which method is used to override when extending the Salesforce B2B Commerce logic providers?

Which method is used to override when extending the Salesforce B2B Commerce logic providers?
A . doLogic
B . process
C . doAction
D . fetch

Answer: C

Explanation:

The method that is used to override when extending the Salesforce B2B Commerce logic providers is doLogic. This method is responsible for executing the business logic for each logic provider class, such as validating inputs, performing calculations, applying rules, or updating data. By overriding this method, the user can modify or extend the existing logic or add their own custom logic.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Logic Classes

Exit mobile version