com.braintreegateway.PaginatedResult 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 PaginatedResult {
private int totalItems;
private int pageSize;
private List currentPage;
public PaginatedResult(int totalItems, int pageSize, List currentPage) {
this.totalItems = totalItems;
this.pageSize = pageSize;
this.currentPage = currentPage;
}
public int getTotalItems() {
return totalItems;
}
public int getPageSize() {
return pageSize;
}
public List getCurrentPage() {
return currentPage;
}
}