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