public final class PosSaleResponse
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 |
---|
PosSaleResponse() |
Modifier and Type | Method and Description |
---|---|
PosSaleResponse |
clone() |
String |
getContentLanguage()
Required.
|
String |
getGtin()
Global Trade Item Number.
|
String |
getItemId()
Required.
|
String |
getKind()
Identifies what kind of resource this is.
|
Price |
getPrice()
Required.
|
Long |
getQuantity()
Required.
|
String |
getSaleId()
A unique ID to group items from the same sale event.
|
String |
getStoreCode()
Required.
|
String |
getTargetCountry()
Required.
|
String |
getTimestamp()
Required.
|
PosSaleResponse |
set(String fieldName,
Object value) |
PosSaleResponse |
setContentLanguage(String contentLanguage)
Required.
|
PosSaleResponse |
setGtin(String gtin)
Global Trade Item Number.
|
PosSaleResponse |
setItemId(String itemId)
Required.
|
PosSaleResponse |
setKind(String kind)
Identifies what kind of resource this is.
|
PosSaleResponse |
setPrice(Price price)
Required.
|
PosSaleResponse |
setQuantity(Long quantity)
Required.
|
PosSaleResponse |
setSaleId(String saleId)
A unique ID to group items from the same sale event.
|
PosSaleResponse |
setStoreCode(String storeCode)
Required.
|
PosSaleResponse |
setTargetCountry(String targetCountry)
Required.
|
PosSaleResponse |
setTimestamp(String timestamp)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, 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 PosSaleResponse setContentLanguage(String contentLanguage)
contentLanguage
- contentLanguage or null
for nonepublic String getGtin()
null
for nonepublic PosSaleResponse setGtin(String gtin)
gtin
- gtin or null
for nonepublic String getItemId()
null
for nonepublic PosSaleResponse setItemId(String itemId)
itemId
- itemId or null
for nonepublic String getKind()
null
for nonepublic PosSaleResponse setKind(String kind)
kind
- kind or null
for nonepublic Price getPrice()
null
for nonepublic PosSaleResponse setPrice(Price price)
price
- price or null
for nonepublic Long getQuantity()
null
for nonepublic PosSaleResponse setQuantity(Long quantity)
quantity
- quantity or null
for nonepublic String getSaleId()
null
for nonepublic PosSaleResponse setSaleId(String saleId)
saleId
- saleId or null
for nonepublic String getStoreCode()
null
for nonepublic PosSaleResponse setStoreCode(String storeCode)
storeCode
- storeCode or null
for nonepublic String getTargetCountry()
null
for nonepublic PosSaleResponse setTargetCountry(String targetCountry)
targetCountry
- targetCountry or null
for nonepublic String getTimestamp()
null
for nonepublic PosSaleResponse setTimestamp(String timestamp)
timestamp
- timestamp or null
for nonepublic PosSaleResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PosSaleResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.