Timeline for I have to make an API where I can return orders (product name) placed by a customer using customer Id?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 11, 2019 at 6:49 | comment | added | Ankur Anand | can you please tell me what does getData function do? and what does it return? | |
Dec 11, 2019 at 6:47 | comment | added | anonymous |
You cant use getData here, You can use var_dump to see what data are in object and you can use those.
|
|
Dec 11, 2019 at 6:44 | comment | added | Ankur Anand | can i use getData() function inplace of getAllItems()? will that mean the same? | |
Dec 11, 2019 at 6:44 | comment | added | Ankur Anand | $order->getAllItems(): it will return an array right?......with all column name as index of array..... | |
Dec 11, 2019 at 5:26 | history | answered | anonymous | CC BY-SA 4.0 |