Package com.plaid.client.model
Class TransferAuthorizationDecisionRationale
java.lang.Object
com.plaid.client.model.TransferAuthorizationDecisionRationale
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class TransferAuthorizationDecisionRationale
extends java.lang.Object
The rationale for Plaid's decision regarding a proposed transfer. Will be null for `approved` decisions.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransferAuthorizationDecisionRationale.CodeEnum
A code representing the rationale for permitting or declining the proposed transfer. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CODE
static java.lang.String
SERIALIZED_NAME_DESCRIPTION
-
Constructor Summary
Constructors Constructor Description TransferAuthorizationDecisionRationale()
-
Method Summary
Modifier and Type Method Description TransferAuthorizationDecisionRationale
code(TransferAuthorizationDecisionRationale.CodeEnum code)
TransferAuthorizationDecisionRationale
description(java.lang.String description)
boolean
equals(java.lang.Object o)
TransferAuthorizationDecisionRationale.CodeEnum
getCode()
A code representing the rationale for permitting or declining the proposed transfer.java.lang.String
getDescription()
A human-readable description of the code associated with a permitted transfer or transfer decline.int
hashCode()
void
setCode(TransferAuthorizationDecisionRationale.CodeEnum code)
void
setDescription(java.lang.String description)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_CODE
public static final java.lang.String SERIALIZED_NAME_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransferAuthorizationDecisionRationale
public TransferAuthorizationDecisionRationale()
-
-
Method Details
-
code
-
getCode
A code representing the rationale for permitting or declining the proposed transfer. Possible values are: `NSF` – Transaction likely to result in a return due to insufficient funds. `RISK` - Transaction is high-risk. `MANUALLY_VERIFIED_ITEM` – Item created via same-day micro deposits, limited information available. Plaid can only offer `permitted` as a transaction decision. `LOGIN_REQUIRED` – Unable to collect the account information required for an authorization decision due to Item staleness. Can be rectified using Link update mode. `ERROR` – Unable to collect the account information required for an authorization decision due to an error.- Returns:
- code
-
setCode
-
description
-
getDescription
public java.lang.String getDescription()A human-readable description of the code associated with a permitted transfer or transfer decline.- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description) -
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
-