Package com.checkout.disputes
Enum TrackingInformationType
- java.lang.Object
-
- java.lang.Enum<TrackingInformationType>
-
- com.checkout.disputes.TrackingInformationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TrackingInformationType>
public enum TrackingInformationType extends java.lang.Enum<TrackingInformationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELIVEREDIN_TRANSITOTHERPARTIAL_SHIPPEDSHIPPEDSHIPPING_EXCEPTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrackingInformationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TrackingInformationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_TRANSIT
@SerializedName("in_transit") public static final TrackingInformationType IN_TRANSIT
-
PARTIAL_SHIPPED
@SerializedName("partial_shipped") public static final TrackingInformationType PARTIAL_SHIPPED
-
SHIPPED
@SerializedName("shipped") public static final TrackingInformationType SHIPPED
-
SHIPPING_EXCEPTION
@SerializedName("shipping_exception") public static final TrackingInformationType SHIPPING_EXCEPTION
-
DELIVERED
@SerializedName("delivered") public static final TrackingInformationType DELIVERED
-
OTHER
@SerializedName("other") public static final TrackingInformationType OTHER
-
-
Method Detail
-
values
public static TrackingInformationType[] 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 (TrackingInformationType c : TrackingInformationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrackingInformationType 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
-
-