com.plaid.client.request.InstitutionsGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
package com.plaid.client.request;
import com.plaid.client.request.common.BaseClientRequest;
import static com.plaid.client.internal.Util.isBetween;
/**
* Request for the /institutions/get endpoint.
*
* @see https://plaid.com/docs/api
*/
public final class InstitutionsGetRequest extends BaseClientRequest {
private Integer count;
private Integer offset;
public InstitutionsGetRequest(Integer count, Integer offset) {
isBetween(count, 1, 500, "count");
isBetween(offset, 0, Integer.MAX_VALUE, "offset");
this.count = count;
this.offset = offset;
}
}