com.braintreegateway.TransactionPager Maven / Gradle / Ivy
package com.braintreegateway;
import java.util.List;
public class TransactionPager implements Pager {
private TransactionGateway gateway;
private TransactionSearchRequest query;
public TransactionPager(TransactionGateway gateway, TransactionSearchRequest query) {
this.gateway = gateway;
this.query = query;
}
public List getPage(List ids) {
return gateway.fetchTransactions(query, ids);
}
}