1
I have the return of a requisicao in the following format:
There in options there are the types of cards the json returned. I want to get each of the types without manually typing their name.
Actually I can catch doing that:
response.paymentMethods.CREDIT_CARD.options.AMEX
But so I have to type in the name of each one. I want to count how many options you have and take them dynamically. Someone can help me?
That’s just what I needed, it worked right here.
– Thiago
@Thiago If the answer solved the problem, be sure to mark.
– Sam