All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.model.SearchPagingIterable Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
package com.stripe.model;

import java.util.Iterator;

/**
 * Provides an {@code Iterable} target that automatically iterates across all API
 * pages and which is suitable for use with a {@code foreach} loop.
 *
 * 

Please note SearchPagingIterable is in beta and is subject to change or removal at any time. */ public class SearchPagingIterable implements Iterable { private StripeSearchResultInterface page; SearchPagingIterable(final StripeSearchResultInterface page) { this.page = page; } @Override public Iterator iterator() { return new SearchPagingIterator<>(page); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy