The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.