Unable to access returned object values due to protected container [container:protected] #284
-
I am trying to access orders and use getOrders() to receive a list of all orders.
In the response you can see [container:protected]. I don't know why these containers are protected or if I've done anything wrong in the request, but the way it is right now I can't proceed reading order details. Can someone explain to me why these containers are protected and how I can access the information inside? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a public method to get the |
Beta Was this translation helpful? Give feedback.
There is a public method to get the
OrdersList
payload:public function getPayload() : ?OrdersList