com.plaid.client.request.ItemMfaEncryptRequest 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.BasePublicRequest;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static com.plaid.client.internal.Util.notEmpty;
/**
* Request for the /item/mfa/encrypt endpoint.
*
* @see https://plaid.com/docs/api
*/
public final class ItemMfaEncryptRequest extends BasePublicRequest {
private List responses;
public ItemMfaEncryptRequest(List responses) {
notEmpty(responses, "responses");
this.responses = new ArrayList<>(responses);
}
public ItemMfaEncryptRequest(String... responses) {
this(Arrays.asList(responses));
}
}