public enum ProductStockStatus extends Enum<ProductStockStatus>
| Enum Constant and Description |
|---|
IN_STOCK |
OUT_OF_STOCK |
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static ProductStockStatus |
fromGraphQl(String value) |
String |
toString() |
static ProductStockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductStockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductStockStatus IN_STOCK
public static final ProductStockStatus OUT_OF_STOCK
public static final ProductStockStatus UNKNOWN_VALUE
public static ProductStockStatus[] values()
for (ProductStockStatus c : ProductStockStatus.values()) System.out.println(c);
public static ProductStockStatus 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 ProductStockStatus fromGraphQl(String value)
public String toString()
toString in class Enum<ProductStockStatus>Copyright © 2022 Adobe. All rights reserved.