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

com.braintreegateway.DisputePager Maven / Gradle / Ivy

The newest version!
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy