public enum ShoppingProductChannelExclusivity extends Enum<ShoppingProductChannelExclusivity>
Java class for ShoppingProductChannelExclusivity.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ShoppingProductChannelExclusivity">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="SINGLE_CHANNEL"/>
<enumeration value="MULTI_CHANNEL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MULTI_CHANNEL
The item is matched to its online or local stores counterpart, indicating it is
available for purchase in both ShoppingProductChannels.
|
SINGLE_CHANNEL
The item is sold through one channel only, either local stores or online as
indicated by its ShoppingProductChannel.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static ShoppingProductChannelExclusivity |
fromValue(String v) |
String |
value() |
static ShoppingProductChannelExclusivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShoppingProductChannelExclusivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShoppingProductChannelExclusivity UNKNOWN
public static final ShoppingProductChannelExclusivity SINGLE_CHANNEL
public static final ShoppingProductChannelExclusivity MULTI_CHANNEL
public static ShoppingProductChannelExclusivity[] values()
for (ShoppingProductChannelExclusivity c : ShoppingProductChannelExclusivity.values()) System.out.println(c);
public static ShoppingProductChannelExclusivity 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 String value()
public static ShoppingProductChannelExclusivity fromValue(String v)
Copyright © 2023. All rights reserved.