public final class PosInventoryResponse
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PosInventoryResponse() |
Modifier and Type | Method and Description |
---|---|
PosInventoryResponse |
clone() |
String |
getContentLanguage()
The two-letter ISO 639-1 language code for the item.
|
String |
getGtin()
Global Trade Item Number.
|
String |
getItemId()
A unique identifier for the item.
|
String |
getKind()
Identifies what kind of resource this is.
|
Price |
getPrice()
The current price of the item.
|
Long |
getQuantity()
The available quantity of the item.
|
String |
getStoreCode()
The identifier of the merchant's store.
|
String |
getTargetCountry()
The CLDR territory code for the item.
|
String |
getTimestamp()
The inventory timestamp, in ISO 8601 format.
|
PosInventoryResponse |
set(String fieldName,
Object value) |
PosInventoryResponse |
setContentLanguage(String contentLanguage)
The two-letter ISO 639-1 language code for the item.
|
PosInventoryResponse |
setGtin(String gtin)
Global Trade Item Number.
|
PosInventoryResponse |
setItemId(String itemId)
A unique identifier for the item.
|
PosInventoryResponse |
setKind(String kind)
Identifies what kind of resource this is.
|
PosInventoryResponse |
setPrice(Price price)
The current price of the item.
|
PosInventoryResponse |
setQuantity(Long quantity)
The available quantity of the item.
|
PosInventoryResponse |
setStoreCode(String storeCode)
The identifier of the merchant's store.
|
PosInventoryResponse |
setTargetCountry(String targetCountry)
The CLDR territory code for the item.
|
PosInventoryResponse |
setTimestamp(String timestamp)
The inventory timestamp, in ISO 8601 format.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getContentLanguage()
null
for nonepublic PosInventoryResponse setContentLanguage(String contentLanguage)
contentLanguage
- contentLanguage or null
for nonepublic String getGtin()
null
for nonepublic PosInventoryResponse setGtin(String gtin)
gtin
- gtin or null
for nonepublic String getItemId()
null
for nonepublic PosInventoryResponse setItemId(String itemId)
itemId
- itemId or null
for nonepublic String getKind()
null
for nonepublic PosInventoryResponse setKind(String kind)
kind
- kind or null
for nonepublic Price getPrice()
null
for nonepublic PosInventoryResponse setPrice(Price price)
price
- price or null
for nonepublic Long getQuantity()
null
for nonepublic PosInventoryResponse setQuantity(Long quantity)
quantity
- quantity or null
for nonepublic String getStoreCode()
null
for nonepublic PosInventoryResponse setStoreCode(String storeCode)
storeCode
- storeCode or null
for nonepublic String getTargetCountry()
null
for nonepublic PosInventoryResponse setTargetCountry(String targetCountry)
targetCountry
- targetCountry or null
for nonepublic String getTimestamp()
null
for nonepublic PosInventoryResponse setTimestamp(String timestamp)
timestamp
- timestamp or null
for nonepublic PosInventoryResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PosInventoryResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.