There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

WebService::Braintree::PaginatedCollection

PURPOSE

This class provides a way of iterating over a paginated collection of resources. It will lazily retrieve the objects from Braintree.

This class will only be created as part of a response or error response.

METHODS

each($block)

This takes a subroutine and executes that subroutine for each page of results in this collection.