This class provides a way of iterating over a collection of resources. It will lazily retrieve the objects from Braintree.
This returns true if the request was successful, otherwise false.
This returns the first object in this collection.
If there is nothing in the collection, this returns undef.
This returns true if the collection has anything in it, otherwise false.
This returns the number of elements in this collection.
This takes a subroutine and executes that subroutine for each element in this collection.