public enum ServiceType extends Enum<ServiceType>
Java class for ServiceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ServiceType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="MERCHANT_CENTER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MERCHANT_CENTER
Data from Google Merchant Center accounts can be linked for use in shopping campaigns.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceType |
fromValue(String v) |
String |
value() |
static ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceType MERCHANT_CENTER
public static final ServiceType UNKNOWN
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType 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 ServiceType fromValue(String v)
Copyright © 2023. All rights reserved.