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

com.braintreegateway.DisputePager Maven / Gradle / Ivy

There is a newer version: 3.32.0_1
Show 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