public enum ProductStatus extends Enum<ProductStatus>
Enum Constant and Description |
---|
ARCHIVED
The SKU is 'inactive' and is not available for purchase on Jet.com.
|
AVAILABLE
he product is listed on Jet.com and can be purchased by a customer
|
DATA_NEEDED
More data is needed to list the product on Jet.com
|
EXCLUDED
The SKU is not able to be sold on Jet.com.
|
NONE
Status unknown
|
UNAUTHORIZED
The SKU is not authorized to be sold
|
UNDER_REVIEW
The SKU is current being processed in Jet's product catalog
|
Modifier and Type | Method and Description |
---|---|
static ProductStatus |
fromValue(String value)
Retrieve a ProductStatus by Jet API value
|
String |
getValue()
Retrieve the Jet API value
|
String |
toString()
Retrieve the jet api value
|
static ProductStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductStatus NONE
public static final ProductStatus AVAILABLE
public static final ProductStatus DATA_NEEDED
public static final ProductStatus UNDER_REVIEW
public static final ProductStatus UNAUTHORIZED
public static final ProductStatus EXCLUDED
public static final ProductStatus ARCHIVED
public static ProductStatus[] values()
for (ProductStatus c : ProductStatus.values()) System.out.println(c);
public static ProductStatus 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 ProductStatus fromValue(String value)
value
- valuepublic String getValue()
public String toString()
toString
in class Enum<ProductStatus>
Copyright © 2017. All rights reserved.