What is the problem with this xml snippet?

An Adobe Commerce developer adds a new extension attribute to add an array of values to the invoices that are fetched through the APIs.

After a while, their technical manager reviews their work and notices something wrong with the extension_attributes.xml file that the developer created in their module: extension_attributes for="MagentoSalesHotelOrderInvoiceRepository"> attribute code"my_code" type=string]’’> </extension_attribute>

What is the problem with this xml snippet?
A . The extension attribute references the repository instead of the interface it implements (MagentoSalesApiinvoiceRepositoryinteface
B . The type is wrong, string[] should be replaced with array.
C . The extension attribute references the wrong interface it should have referenced the MagentoSalesAPiInvoiceinterface.

Answer: C

Latest AD0-E709 Dumps Valid Version with 135 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments