com.plaid.client.http.PlaidHttpRequest 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.http;
import java.util.HashMap;
import java.util.Map;
public class PlaidHttpRequest {
private String path;
private Map parameters;
private Integer timeout;
public PlaidHttpRequest(String path) {
this.path = path;
this.parameters = new HashMap();
}
public PlaidHttpRequest(String path, Map parameters, Integer timeout) {
this.path = path;
this.parameters = parameters;
this.timeout = timeout;
}
public PlaidHttpRequest addParameter(String key, String value) {
this.parameters.put(key, value);
return this;
}
public String getPath() {
return path;
}
public Map getParameters() {
return parameters;
}
public Integer getTimeout() {
return timeout;
}
public boolean hasTimeout() {
return timeout != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy