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

com.plaid.client.request.ItemMfaEncryptRequest Maven / Gradle / Ivy

There is a newer version: 27.0.0
Show newest version
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));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy