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.