com.braintreegateway.TransactionPager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.braintree-java
Show all versions of org.apache.servicemix.bundles.braintree-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
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);
}
}