public static enum ApiParameters.SortBy extends Enum<ApiParameters.SortBy>
| Enum Constant and Description |
|---|
MOST_RECENT |
PRICE_HIGH_TO_LOW |
PRICE_LOW_TO_HIGH |
| Modifier and Type | Method and Description |
|---|---|
static ApiParameters.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiParameters.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiParameters.SortBy PRICE_LOW_TO_HIGH
public static final ApiParameters.SortBy PRICE_HIGH_TO_LOW
public static final ApiParameters.SortBy MOST_RECENT
public static ApiParameters.SortBy[] values()
for (ApiParameters.SortBy c : ApiParameters.SortBy.values()) System.out.println(c);
public static ApiParameters.SortBy 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 nullCopyright © 2017. All rights reserved.