What class assists in creating an instance for SearchCriteriaInterface?

MagentoSalesModelApiOrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and sort information.

What class assists in creating an instance for SearchCriteriaInterface?
A . MagentoFrameworkApiSearchCriteriaFactory
B . MagentoFrameworkApiSearchCriteriaBuilder
C . MagentoSalesModelOrderSearchCriteria
D . MagentoBackendApiSearchCriteriaGenerator

Answer: B

Explanation:

Reference: https://github.com/magento/magento2/blob/2.3/lib/internal/Magento/Framework/Api/ SearchCriteriaInterface.php

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments