Package com.stripe.param.issuing
Enum DisputeCreateParams.Evidence.Reason
- java.lang.Object
-
- java.lang.Enum<DisputeCreateParams.Evidence.Reason>
-
- com.stripe.param.issuing.DisputeCreateParams.Evidence.Reason
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<DisputeCreateParams.Evidence.Reason>
- Enclosing class:
- DisputeCreateParams.Evidence
public static enum DisputeCreateParams.Evidence.Reason extends java.lang.Enum<DisputeCreateParams.Evidence.Reason> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
DUPLICATE
FRAUDULENT
MERCHANDISE_NOT_AS_DESCRIBED
NOT_RECEIVED
OTHER
SERVICE_NOT_AS_DESCRIBED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static DisputeCreateParams.Evidence.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DisputeCreateParams.Evidence.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELED
@SerializedName("canceled") public static final DisputeCreateParams.Evidence.Reason CANCELED
-
DUPLICATE
@SerializedName("duplicate") public static final DisputeCreateParams.Evidence.Reason DUPLICATE
-
FRAUDULENT
@SerializedName("fraudulent") public static final DisputeCreateParams.Evidence.Reason FRAUDULENT
-
MERCHANDISE_NOT_AS_DESCRIBED
@SerializedName("merchandise_not_as_described") public static final DisputeCreateParams.Evidence.Reason MERCHANDISE_NOT_AS_DESCRIBED
-
NOT_RECEIVED
@SerializedName("not_received") public static final DisputeCreateParams.Evidence.Reason NOT_RECEIVED
-
OTHER
@SerializedName("other") public static final DisputeCreateParams.Evidence.Reason OTHER
-
SERVICE_NOT_AS_DESCRIBED
@SerializedName("service_not_as_described") public static final DisputeCreateParams.Evidence.Reason SERVICE_NOT_AS_DESCRIBED
-
-
Method Detail
-
values
public static DisputeCreateParams.Evidence.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DisputeCreateParams.Evidence.Reason c : DisputeCreateParams.Evidence.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DisputeCreateParams.Evidence.Reason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-