Package com.stripe.param.treasury
Enum Class OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code
java.lang.Object
java.lang.Enum<OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code>
com.stripe.param.treasury.OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code>
,Constable
- Enclosing class:
- OutboundTransferReturnOutboundTransferParams.ReturnedDetails
public static enum OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code
extends Enum<OutboundTransferReturnOutboundTransferParams.ReturnedDetails.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 OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code ACCOUNT_CLOSED -
ACCOUNT_FROZEN
@SerializedName("account_frozen") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code ACCOUNT_FROZEN -
BANK_ACCOUNT_RESTRICTED
@SerializedName("bank_account_restricted") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code BANK_ACCOUNT_RESTRICTED -
BANK_OWNERSHIP_CHANGED
@SerializedName("bank_ownership_changed") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code BANK_OWNERSHIP_CHANGED -
DECLINED
@SerializedName("declined") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code DECLINED -
INCORRECT_ACCOUNT_HOLDER_NAME
@SerializedName("incorrect_account_holder_name") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code INCORRECT_ACCOUNT_HOLDER_NAME -
INVALID_ACCOUNT_NUMBER
@SerializedName("invalid_account_number") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code INVALID_ACCOUNT_NUMBER -
INVALID_CURRENCY
@SerializedName("invalid_currency") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code INVALID_CURRENCY -
NO_ACCOUNT
@SerializedName("no_account") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code NO_ACCOUNT -
OTHER
@SerializedName("other") public static final OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code 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
public static OutboundTransferReturnOutboundTransferParams.ReturnedDetails.Code valueOf(String name) 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
-