ExamGecko
Question list
Search
Search

Question 91 - Certified B2B Commerce Developer discussion

Report
Export

Which two different types of services do Salesforce B2B Commerce APIs leverage? (2 answers)

A.
Logic services which are responsible for implementing business logic associated with entities.
Answers
A.
Logic services which are responsible for implementing business logic associated with entities.
B.
Global services which are responsible for querying and transforming data from entities
Answers
B.
Global services which are responsible for querying and transforming data from entities
C.
Data services which are responsible for querying and transforming data from entities
Answers
C.
Data services which are responsible for querying and transforming data from entities
D.
Hook services which are extension points for subscribers to tie into.
Answers
D.
Hook services which are extension points for subscribers to tie into.
Suggested answer: A, C

Explanation:

Two different types of services that Salesforce B2B Commerce APIs leverage are:

Logic services which are responsible for implementing business logic associated with entities. These services are defined in the logic classes, such as ccrz.ccLogicCart, ccrz.ccLogicOrder, or ccrz.ccLogicProduct. These classes provide methods for validating inputs, performing calculations, applying rules, or updating data for each entity.

Data services which are responsible for querying and transforming data from entities. These services are defined in the service classes, such as ccrz.ccServiceCart, ccrz.ccServiceOrder, or ccrz.ccServiceProduct. These classes provide methods for creating, reading, updating, and deleting data for each entity. Salesforce

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

asked 23/09/2024
Sebastian van de Zweerde
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first