I work with Braintree payment gateway integration in my .net azure service. I want all transactions to happen, and then cycle all one by one. I got everything successfully, but when I want to get detailed information about all one by one, this does not allow me, I can access FirstItem from the collection. Below is my code:
ResourceCollection<Transaction> collection = Constants.Gateway.Transaction.Search(new TransactionSearchRequest());
Please help me get all the transactions from the collection. Now I have account = 4 in my collection (this means that four transactions are occurring), but when I want to get everything using a lambda expression or with a foreach loop that does not work only with the collection. FirstIteam works, which can help me see the first item in the collection, but I want everything.
source
share