You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database. What do you inject into a constructor to represent each product you create?
A) \Magento\Catalog\Model\Product
B) \Magento\Catalog\Api\Data\ProductInterfaceFactory
C) \Magento\Catalog\Api\Data\ProductInterface
D) \Magento\Catalog\Model\ProductBuilder
Correct Answer:
Verified
Q16: What will be the result of calling
Q17: How many shipping addresses may be selected
Q18: A module you are working on needs
Q19: \Magento\Sales\Model\Api\OrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and
Q20: You are setting up a brand new
Q22: You added a new constructor argument to
Q23: A custom module must make changes to
Q24: Your module adds a new controller class
Q25: Which entity in Magento supports scoped attributes?
A)
Q26: You are creating a new page layout
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents