Gets all the subitems of a matrix item. getAllMatrixChilds returns an array of objects. Each object in the array is a subitem of the matrix item.
The following example shows how to use the method and what a simplified version of an object in the array might look like.
var pdp = container.getComponent("PDP");
var iteminfo = pdp.getAllMatrixChilds();
// Example of an object in the array returned by getAllMatrixChilds()
[
{
"internalid": 7040,
"isbackorderable": true,
"isinstock": true,
"itemid": "SHIRT-COT-S",
"quantityavailable": 4,
...
}
]