public final class ProductView
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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ProductView() |
| Modifier and Type | Method and Description |
|---|---|
ProductView |
clone() |
String |
getAggregatedDestinationStatus()
Aggregated destination status.
|
String |
getAvailability()
Availability of the product.
|
String |
getBrand()
Brand of the product.
|
String |
getCategoryL1()
First level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCategoryL2()
Second level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCategoryL3()
Third level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCategoryL4()
Fourth level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCategoryL5()
Fifth level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getChannel()
Channel of the product (online versus local).
|
String |
getClickPotential()
Estimated performance potential compared to highest performing products of the merchant.
|
Long |
getClickPotentialRank()
Rank of the product based on its click potential.
|
String |
getCondition()
Condition of the product.
|
String |
getCreationTime()
The time the merchant created the product in timestamp seconds.
|
String |
getCurrencyCode()
Product price currency code (for example, ISO 4217).
|
Date |
getExpirationDate()
Expiration date for the product.
|
List<String> |
getGtin()
GTIN of the product.
|
String |
getId()
The REST ID of the product, in the form of channel:contentLanguage:targetCountry:offerId.
|
String |
getItemGroupId()
Item group ID provided by the merchant for grouping variants together.
|
List<ProductViewItemIssue> |
getItemIssues()
List of item issues for the product.
|
String |
getLanguageCode()
Language code of the product in BCP 47 format.
|
String |
getOfferId()
Merchant-provided id of the product.
|
Long |
getPriceMicros()
Product price specified as micros (1 millionth of a standard unit, 1 USD = 1000000 micros) in
the product currency.
|
String |
getProductTypeL1()
First level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getProductTypeL2()
Second level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getProductTypeL3()
Third level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getProductTypeL4()
Fourth level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getProductTypeL5()
Fifth level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getShippingLabel()
The normalized shipping label specified in the feed
|
String |
getTitle()
Title of the product.
|
ProductView |
set(String fieldName,
Object value) |
ProductView |
setAggregatedDestinationStatus(String aggregatedDestinationStatus)
Aggregated destination status.
|
ProductView |
setAvailability(String availability)
Availability of the product.
|
ProductView |
setBrand(String brand)
Brand of the product.
|
ProductView |
setCategoryL1(String categoryL1)
First level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setCategoryL2(String categoryL2)
Second level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setCategoryL3(String categoryL3)
Third level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setCategoryL4(String categoryL4)
Fourth level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setCategoryL5(String categoryL5)
Fifth level of the product category in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setChannel(String channel)
Channel of the product (online versus local).
|
ProductView |
setClickPotential(String clickPotential)
Estimated performance potential compared to highest performing products of the merchant.
|
ProductView |
setClickPotentialRank(Long clickPotentialRank)
Rank of the product based on its click potential.
|
ProductView |
setCondition(String condition)
Condition of the product.
|
ProductView |
setCreationTime(String creationTime)
The time the merchant created the product in timestamp seconds.
|
ProductView |
setCurrencyCode(String currencyCode)
Product price currency code (for example, ISO 4217).
|
ProductView |
setExpirationDate(Date expirationDate)
Expiration date for the product.
|
ProductView |
setGtin(List<String> gtin)
GTIN of the product.
|
ProductView |
setId(String id)
The REST ID of the product, in the form of channel:contentLanguage:targetCountry:offerId.
|
ProductView |
setItemGroupId(String itemGroupId)
Item group ID provided by the merchant for grouping variants together.
|
ProductView |
setItemIssues(List<ProductViewItemIssue> itemIssues)
List of item issues for the product.
|
ProductView |
setLanguageCode(String languageCode)
Language code of the product in BCP 47 format.
|
ProductView |
setOfferId(String offerId)
Merchant-provided id of the product.
|
ProductView |
setPriceMicros(Long priceMicros)
Product price specified as micros (1 millionth of a standard unit, 1 USD = 1000000 micros) in
the product currency.
|
ProductView |
setProductTypeL1(String productTypeL1)
First level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setProductTypeL2(String productTypeL2)
Second level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setProductTypeL3(String productTypeL3)
Third level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setProductTypeL4(String productTypeL4)
Fourth level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setProductTypeL5(String productTypeL5)
Fifth level of the product type in merchant's own [product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
ProductView |
setShippingLabel(String shippingLabel)
The normalized shipping label specified in the feed
|
ProductView |
setTitle(String title)
Title of the product.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAggregatedDestinationStatus()
null for nonepublic ProductView setAggregatedDestinationStatus(String aggregatedDestinationStatus)
aggregatedDestinationStatus - aggregatedDestinationStatus or null for nonepublic String getAvailability()
null for nonepublic ProductView setAvailability(String availability)
availability - availability or null for nonepublic String getBrand()
null for nonepublic ProductView setBrand(String brand)
brand - brand or null for nonepublic String getCategoryL1()
null for nonepublic ProductView setCategoryL1(String categoryL1)
categoryL1 - categoryL1 or null for nonepublic String getCategoryL2()
null for nonepublic ProductView setCategoryL2(String categoryL2)
categoryL2 - categoryL2 or null for nonepublic String getCategoryL3()
null for nonepublic ProductView setCategoryL3(String categoryL3)
categoryL3 - categoryL3 or null for nonepublic String getCategoryL4()
null for nonepublic ProductView setCategoryL4(String categoryL4)
categoryL4 - categoryL4 or null for nonepublic String getCategoryL5()
null for nonepublic ProductView setCategoryL5(String categoryL5)
categoryL5 - categoryL5 or null for nonepublic String getChannel()
null for nonepublic ProductView setChannel(String channel)
channel - channel or null for nonepublic String getClickPotential()
null for nonepublic ProductView setClickPotential(String clickPotential)
clickPotential - clickPotential or null for nonepublic Long getClickPotentialRank()
null for nonepublic ProductView setClickPotentialRank(Long clickPotentialRank)
clickPotentialRank - clickPotentialRank or null for nonepublic String getCondition()
null for nonepublic ProductView setCondition(String condition)
condition - condition or null for nonepublic String getCreationTime()
null for nonepublic ProductView setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getCurrencyCode()
null for nonepublic ProductView setCurrencyCode(String currencyCode)
currencyCode - currencyCode or null for nonepublic Date getExpirationDate()
null for nonepublic ProductView setExpirationDate(Date expirationDate)
expirationDate - expirationDate or null for nonepublic ProductView setGtin(List<String> gtin)
gtin - gtin or null for nonepublic String getId()
null for nonepublic ProductView setId(String id)
id - id or null for nonepublic String getItemGroupId()
null for nonepublic ProductView setItemGroupId(String itemGroupId)
itemGroupId - itemGroupId or null for nonepublic List<ProductViewItemIssue> getItemIssues()
null for nonepublic ProductView setItemIssues(List<ProductViewItemIssue> itemIssues)
itemIssues - itemIssues or null for nonepublic String getLanguageCode()
null for nonepublic ProductView setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic String getOfferId()
null for nonepublic ProductView setOfferId(String offerId)
offerId - offerId or null for nonepublic Long getPriceMicros()
null for nonepublic ProductView setPriceMicros(Long priceMicros)
priceMicros - priceMicros or null for nonepublic String getProductTypeL1()
null for nonepublic ProductView setProductTypeL1(String productTypeL1)
productTypeL1 - productTypeL1 or null for nonepublic String getProductTypeL2()
null for nonepublic ProductView setProductTypeL2(String productTypeL2)
productTypeL2 - productTypeL2 or null for nonepublic String getProductTypeL3()
null for nonepublic ProductView setProductTypeL3(String productTypeL3)
productTypeL3 - productTypeL3 or null for nonepublic String getProductTypeL4()
null for nonepublic ProductView setProductTypeL4(String productTypeL4)
productTypeL4 - productTypeL4 or null for nonepublic String getProductTypeL5()
null for nonepublic ProductView setProductTypeL5(String productTypeL5)
productTypeL5 - productTypeL5 or null for nonepublic String getShippingLabel()
null for nonepublic ProductView setShippingLabel(String shippingLabel)
shippingLabel - shippingLabel or null for nonepublic String getTitle()
null for nonepublic ProductView setTitle(String title)
title - title or null for nonepublic ProductView set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ProductView clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.