Package com.plaid.client.model
Class DepositSwitchCreateRequest
java.lang.Object
com.plaid.client.model.DepositSwitchCreateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class DepositSwitchCreateRequest
extends java.lang.Object
DepositSwitchCreateRequest defines the request schema for `/deposit_switch/create`
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DepositSwitchCreateRequest.CountryCodeEnum
ISO-3166-1 alpha-2 country code standard. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CLIENT_ID
static java.lang.String
SERIALIZED_NAME_COUNTRY_CODE
static java.lang.String
SERIALIZED_NAME_OPTIONS
static java.lang.String
SERIALIZED_NAME_SECRET
static java.lang.String
SERIALIZED_NAME_TARGET_ACCESS_TOKEN
static java.lang.String
SERIALIZED_NAME_TARGET_ACCOUNT_ID
-
Constructor Summary
Constructors Constructor Description DepositSwitchCreateRequest()
-
Method Summary
Modifier and Type Method Description DepositSwitchCreateRequest
clientId(java.lang.String clientId)
DepositSwitchCreateRequest
countryCode(DepositSwitchCreateRequest.CountryCodeEnum countryCode)
boolean
equals(java.lang.Object o)
java.lang.String
getClientId()
Your Plaid API `client_id`.DepositSwitchCreateRequest.CountryCodeEnum
getCountryCode()
ISO-3166-1 alpha-2 country code standard.DepositSwitchCreateRequestOptions
getOptions()
Get optionsjava.lang.String
getSecret()
Your Plaid API `secret`.java.lang.String
getTargetAccessToken()
Access token for the target Item, typically provided in the Import Item response.java.lang.String
getTargetAccountId()
Plaid Account ID that specifies the target bank account.int
hashCode()
DepositSwitchCreateRequest
options(DepositSwitchCreateRequestOptions options)
DepositSwitchCreateRequest
secret(java.lang.String secret)
void
setClientId(java.lang.String clientId)
void
setCountryCode(DepositSwitchCreateRequest.CountryCodeEnum countryCode)
void
setOptions(DepositSwitchCreateRequestOptions options)
void
setSecret(java.lang.String secret)
void
setTargetAccessToken(java.lang.String targetAccessToken)
void
setTargetAccountId(java.lang.String targetAccountId)
DepositSwitchCreateRequest
targetAccessToken(java.lang.String targetAccessToken)
DepositSwitchCreateRequest
targetAccountId(java.lang.String targetAccountId)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_CLIENT_ID
public static final java.lang.String SERIALIZED_NAME_CLIENT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECRET
public static final java.lang.String SERIALIZED_NAME_SECRET- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TARGET_ACCESS_TOKEN
public static final java.lang.String SERIALIZED_NAME_TARGET_ACCESS_TOKEN- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TARGET_ACCOUNT_ID
public static final java.lang.String SERIALIZED_NAME_TARGET_ACCOUNT_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final java.lang.String SERIALIZED_NAME_COUNTRY_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPTIONS
public static final java.lang.String SERIALIZED_NAME_OPTIONS- See Also:
- Constant Field Values
-
-
Constructor Details
-
DepositSwitchCreateRequest
public DepositSwitchCreateRequest()
-
-
Method Details
-
clientId
-
getClientId
@Nullable public java.lang.String getClientId()Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.- Returns:
- clientId
-
setClientId
public void setClientId(java.lang.String clientId) -
secret
-
getSecret
@Nullable public java.lang.String getSecret()Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.- Returns:
- secret
-
setSecret
public void setSecret(java.lang.String secret) -
targetAccessToken
-
getTargetAccessToken
public java.lang.String getTargetAccessToken()Access token for the target Item, typically provided in the Import Item response.- Returns:
- targetAccessToken
-
setTargetAccessToken
public void setTargetAccessToken(java.lang.String targetAccessToken) -
targetAccountId
-
getTargetAccountId
public java.lang.String getTargetAccountId()Plaid Account ID that specifies the target bank account. This account will become the recipient for a user's direct deposit.- Returns:
- targetAccountId
-
setTargetAccountId
public void setTargetAccountId(java.lang.String targetAccountId) -
countryCode
public DepositSwitchCreateRequest countryCode(DepositSwitchCreateRequest.CountryCodeEnum countryCode) -
getCountryCode
ISO-3166-1 alpha-2 country code standard.- Returns:
- countryCode
-
setCountryCode
-
options
-
getOptions
Get options- Returns:
- options
-
setOptions
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-