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

com.braintreegateway.PaginatedResult Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy