Package com.stripe.param.treasury
Enum Class InboundTransferFailParams.FailureDetails.Code
java.lang.Object
java.lang.Enum<InboundTransferFailParams.FailureDetails.Code>
com.stripe.param.treasury.InboundTransferFailParams.FailureDetails.Code
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<InboundTransferFailParams.FailureDetails.Code>
,Constable
- Enclosing class:
- InboundTransferFailParams.FailureDetails
public static enum InboundTransferFailParams.FailureDetails.Code
extends Enum<InboundTransferFailParams.FailureDetails.Code>
implements ApiRequestParams.EnumParam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
ACCOUNT_CLOSED
@SerializedName("account_closed") public static final InboundTransferFailParams.FailureDetails.Code ACCOUNT_CLOSED -
ACCOUNT_FROZEN
@SerializedName("account_frozen") public static final InboundTransferFailParams.FailureDetails.Code ACCOUNT_FROZEN -
BANK_ACCOUNT_RESTRICTED
@SerializedName("bank_account_restricted") public static final InboundTransferFailParams.FailureDetails.Code BANK_ACCOUNT_RESTRICTED -
BANK_OWNERSHIP_CHANGED
@SerializedName("bank_ownership_changed") public static final InboundTransferFailParams.FailureDetails.Code BANK_OWNERSHIP_CHANGED -
DEBIT_NOT_AUTHORIZED
@SerializedName("debit_not_authorized") public static final InboundTransferFailParams.FailureDetails.Code DEBIT_NOT_AUTHORIZED -
INCORRECT_ACCOUNT_HOLDER_ADDRESS
@SerializedName("incorrect_account_holder_address") public static final InboundTransferFailParams.FailureDetails.Code INCORRECT_ACCOUNT_HOLDER_ADDRESS -
INCORRECT_ACCOUNT_HOLDER_NAME
@SerializedName("incorrect_account_holder_name") public static final InboundTransferFailParams.FailureDetails.Code INCORRECT_ACCOUNT_HOLDER_NAME -
INCORRECT_ACCOUNT_HOLDER_TAX_ID
@SerializedName("incorrect_account_holder_tax_id") public static final InboundTransferFailParams.FailureDetails.Code INCORRECT_ACCOUNT_HOLDER_TAX_ID -
INSUFFICIENT_FUNDS
@SerializedName("insufficient_funds") public static final InboundTransferFailParams.FailureDetails.Code INSUFFICIENT_FUNDS -
INVALID_ACCOUNT_NUMBER
@SerializedName("invalid_account_number") public static final InboundTransferFailParams.FailureDetails.Code INVALID_ACCOUNT_NUMBER -
INVALID_CURRENCY
@SerializedName("invalid_currency") public static final InboundTransferFailParams.FailureDetails.Code INVALID_CURRENCY -
NO_ACCOUNT
@SerializedName("no_account") public static final InboundTransferFailParams.FailureDetails.Code NO_ACCOUNT -
OTHER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-