com.braintreegateway.DisputePager 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.
package com.braintreegateway;
public class DisputePager implements SimplePager {
private DisputeGateway gateway;
private DisputeSearchRequest query;
public DisputePager(DisputeGateway gateway, DisputeSearchRequest query) {
this.gateway = gateway;
this.query = query;
}
public PaginatedResult getPage(int page) {
return gateway.fetchDisputes(query, page);
}
}