public static enum ProductVariationGroupRec.Relationship extends Enum<ProductVariationGroupRec.Relationship>
Enum Constant and Description |
---|
ACCESSORY
An accessory group
|
NONE
There are no relationships set up for this sku.
|
VARIATION
A variation group
|
Modifier and Type | Method and Description |
---|---|
static ProductVariationGroupRec.Relationship |
byText(String value)
Create a new Relationship instance by text
|
String |
getText()
Retrieve the jet text
|
String |
toString() |
static ProductVariationGroupRec.Relationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductVariationGroupRec.Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductVariationGroupRec.Relationship NONE
public static final ProductVariationGroupRec.Relationship VARIATION
public static final ProductVariationGroupRec.Relationship ACCESSORY
public static ProductVariationGroupRec.Relationship[] values()
for (ProductVariationGroupRec.Relationship c : ProductVariationGroupRec.Relationship.values()) System.out.println(c);
public static ProductVariationGroupRec.Relationship 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 ProductVariationGroupRec.Relationship byText(String value) throws IllegalArgumentException
value
- ValueIllegalArgumentException
- if value is not validpublic String getText()
public String toString()
toString
in class Enum<ProductVariationGroupRec.Relationship>
Copyright © 2017. All rights reserved.