public final class ProductView extends 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
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 |
getChannel()
Channel of the product (online versus local).
|
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 in the product currency.
|
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 |
setChannel(String channel)
Channel of the product (online versus local).
|
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 in the product currency.
|
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 getChannel()
null for nonepublic ProductView setChannel(String channel)
channel - channel 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 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 GenericJsonpublic ProductView clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.