public enum ProductSubStatus extends Enum<ProductSubStatus>
Enum Constant and Description |
---|
ADDITIONAL_SKU_NEEDED |
DATA_NEEDED
Additional preferred attributes are requested but not required
(the product can be listed without clearing this sub status)
|
IMAGE_NEEDED
A main image is needed to list the product on Jet.com
|
INVALID_CATEGORY |
INVALID_MULTIPACK_QTY |
INVALID_SKU |
MISSING_ATTR_VAL |
MISSING_BRAND |
MISSING_CATEGORY |
MISSING_IMAGE |
MISSING_PRICE |
MISSING_SHIPPING_WEIGHT |
MISSING_TITLE |
MISSING_VARIATION |
NONE
Unknown status
|
PRICE_NEEDED
A price is needed to list the product on Jet.com
|
Modifier and Type | Method and Description |
---|---|
static ProductSubStatus |
fromValue(String val)
Retrieve a Product sub status from the jet api value
|
String |
getValue()
Retrieve the jet api value
|
String |
toString() |
static ProductSubStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductSubStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductSubStatus NONE
public static final ProductSubStatus MISSING_VARIATION
public static final ProductSubStatus MISSING_TITLE
public static final ProductSubStatus MISSING_SHIPPING_WEIGHT
public static final ProductSubStatus MISSING_PRICE
public static final ProductSubStatus MISSING_IMAGE
public static final ProductSubStatus MISSING_CATEGORY
public static final ProductSubStatus MISSING_BRAND
public static final ProductSubStatus MISSING_ATTR_VAL
public static final ProductSubStatus INVALID_SKU
public static final ProductSubStatus INVALID_CATEGORY
public static final ProductSubStatus INVALID_MULTIPACK_QTY
public static final ProductSubStatus ADDITIONAL_SKU_NEEDED
public static final ProductSubStatus DATA_NEEDED
public static final ProductSubStatus PRICE_NEEDED
public static final ProductSubStatus IMAGE_NEEDED
public static ProductSubStatus[] values()
for (ProductSubStatus c : ProductSubStatus.values()) System.out.println(c);
public static ProductSubStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ProductSubStatus fromValue(String val)
val
- valuepublic String getValue()
public String toString()
toString
in class Enum<ProductSubStatus>
Copyright © 2017. All rights reserved.