com.braintreegateway.ExpiringCreditCardPager Maven / Gradle / Ivy
package com.braintreegateway;
import java.util.List;
public class ExpiringCreditCardPager implements Pager {
private CreditCardGateway gateway;
private String queryString;
public ExpiringCreditCardPager(CreditCardGateway gateway, String queryString) {
this.gateway = gateway;
this.queryString = queryString;
}
public List getPage(List ids) {
return gateway.fetchExpiringCreditCards(ids, queryString);
}
}