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

com.braintreegateway.SubscriptionPager Maven / Gradle / Ivy

The newest version!
package com.braintreegateway;

import java.util.List;

public class SubscriptionPager implements Pager {
    private SubscriptionGateway gateway;
    private SubscriptionSearchRequest search;

    public SubscriptionPager(SubscriptionGateway gateway, SubscriptionSearchRequest search) {
        this.gateway = gateway;
        this.search = search;
    }

    public List getPage(List ids) {
        return gateway.fetchSubscriptions(search, ids);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy