public final class Product
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Manufacturer Center API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Product |
clone() |
Attributes |
getAttributes()
Attributes of the product uploaded to the Manufacturer Center.
|
java.lang.String |
getContentLanguage()
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
|
java.util.List<DestinationStatus> |
getDestinationStatuses()
The status of the destinations.
|
java.util.List<Issue> |
getIssues()
A server-generated list of issues associated with the product.
|
java.lang.String |
getName()
Name in the format `{target_country}:{content_language}:{product_id}`.
|
java.lang.String |
getParent()
Parent ID in the format `accounts/{account_id}`.
|
java.lang.String |
getProductId()
The ID of the product.
|
java.lang.String |
getTargetCountry()
The target country of the product as a CLDR territory code (for example, US).
|
Product |
set(java.lang.String fieldName,
java.lang.Object value) |
Product |
setAttributes(Attributes attributes)
Attributes of the product uploaded to the Manufacturer Center.
|
Product |
setContentLanguage(java.lang.String contentLanguage)
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
|
Product |
setDestinationStatuses(java.util.List<DestinationStatus> destinationStatuses)
The status of the destinations.
|
Product |
setIssues(java.util.List<Issue> issues)
A server-generated list of issues associated with the product.
|
Product |
setName(java.lang.String name)
Name in the format `{target_country}:{content_language}:{product_id}`.
|
Product |
setParent(java.lang.String parent)
Parent ID in the format `accounts/{account_id}`.
|
Product |
setProductId(java.lang.String productId)
The ID of the product.
|
Product |
setTargetCountry(java.lang.String targetCountry)
The target country of the product as a CLDR territory code (for example, US).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Attributes getAttributes()
null for nonepublic Product setAttributes(Attributes attributes)
attributes - attributes or null for nonepublic java.lang.String getContentLanguage()
null for nonepublic Product setContentLanguage(java.lang.String contentLanguage)
contentLanguage - contentLanguage or null for nonepublic java.util.List<DestinationStatus> getDestinationStatuses()
null for nonepublic Product setDestinationStatuses(java.util.List<DestinationStatus> destinationStatuses)
destinationStatuses - destinationStatuses or null for nonepublic java.util.List<Issue> getIssues()
null for nonepublic Product setIssues(java.util.List<Issue> issues)
issues - issues or null for nonepublic java.lang.String getName()
null for nonepublic Product setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getParent()
null for nonepublic Product setParent(java.lang.String parent)
parent - parent or null for nonepublic java.lang.String getProductId()
null for nonepublic Product setProductId(java.lang.String productId)
productId - productId or null for nonepublic java.lang.String getTargetCountry()
null for nonepublic Product setTargetCountry(java.lang.String targetCountry)
targetCountry - targetCountry or null for nonepublic Product set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Product clone()
clone in class com.google.api.client.json.GenericJson