Unable to access returned object values due to protected container [container:protected] #284
Answered
by
jasonhebert
AnonAnon42
asked this question in
Q&A
|
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? |
Answered by
jasonhebert
Nov 28, 2022
Replies: 1 comment
|
There is a public method to get the |
0 replies
Answer selected by
norberttech
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a public method to get the
OrdersListpayload:public function getPayload() : ?OrdersList