Enum LabelAttribute
- java.lang.Object
-
- java.lang.Enum<LabelAttribute>
-
- software.amazon.spapi.models.shipping.v2.LabelAttribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LabelAttribute>
public enum LabelAttribute extends java.lang.Enum<LabelAttribute>
Enumerates the attributes supported to be printed on a shipping label. The values for these attributes are retrieved from GetRates/OneClickShipment request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LabelAttribute.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECT_ON_DELIVERY_AMOUNT
PACKAGE_CLIENT_REFERENCE_ID
SELLER_DISPLAY_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelAttribute
fromValue(java.lang.String input)
java.lang.String
getValue()
java.lang.String
toString()
static LabelAttribute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LabelAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PACKAGE_CLIENT_REFERENCE_ID
@SerializedName("PACKAGE_CLIENT_REFERENCE_ID") public static final LabelAttribute PACKAGE_CLIENT_REFERENCE_ID
-
SELLER_DISPLAY_NAME
@SerializedName("SELLER_DISPLAY_NAME") public static final LabelAttribute SELLER_DISPLAY_NAME
-
COLLECT_ON_DELIVERY_AMOUNT
@SerializedName("COLLECT_ON_DELIVERY_AMOUNT") public static final LabelAttribute COLLECT_ON_DELIVERY_AMOUNT
-
-
Method Detail
-
values
public static LabelAttribute[] 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 (LabelAttribute c : LabelAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelAttribute 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()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<LabelAttribute>
-
fromValue
public static LabelAttribute fromValue(java.lang.String input)
-
-