public final class InventoryCustomBatchRequestEntry 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InventoryCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
InventoryCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
Inventory |
getInventory()
Price and availability of the product.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getProductId()
The ID of the product for which to update price and availability.
|
String |
getStoreCode()
The code of the store for which to update price and availability.
|
InventoryCustomBatchRequestEntry |
set(String fieldName,
Object value) |
InventoryCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
InventoryCustomBatchRequestEntry |
setInventory(Inventory inventory)
Price and availability of the product.
|
InventoryCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
InventoryCustomBatchRequestEntry |
setProductId(String productId)
The ID of the product for which to update price and availability.
|
InventoryCustomBatchRequestEntry |
setStoreCode(String storeCode)
The code of the store for which to update price and availability.
|
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 Long getBatchId()
null
for nonepublic InventoryCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic Inventory getInventory()
null
for nonepublic InventoryCustomBatchRequestEntry setInventory(Inventory inventory)
inventory
- inventory or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic InventoryCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getProductId()
null
for nonepublic InventoryCustomBatchRequestEntry setProductId(String productId)
productId
- productId or null
for nonepublic String getStoreCode()
null
for nonepublic InventoryCustomBatchRequestEntry setStoreCode(String storeCode)
storeCode
- storeCode or null
for nonepublic InventoryCustomBatchRequestEntry set(String fieldName, Object value)
set
in class GenericJson
public InventoryCustomBatchRequestEntry clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.