public final class LocalinventoryCustomBatchRequestEntry
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 |
|---|
LocalinventoryCustomBatchRequestEntry() |
| Modifier and Type | Method and Description |
|---|---|
LocalinventoryCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
LocalInventory |
getLocalInventory()
Local inventory of the product.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod()
Method of the batch request entry.
|
String |
getProductId()
The ID of the product for which to update local inventory.
|
LocalinventoryCustomBatchRequestEntry |
set(String fieldName,
Object value) |
LocalinventoryCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
LocalinventoryCustomBatchRequestEntry |
setLocalInventory(LocalInventory localInventory)
Local inventory of the product.
|
LocalinventoryCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
LocalinventoryCustomBatchRequestEntry |
setMethod(String method)
Method of the batch request entry.
|
LocalinventoryCustomBatchRequestEntry |
setProductId(String productId)
The ID of the product for which to update local inventory.
|
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 LocalinventoryCustomBatchRequestEntry()
public Long getBatchId()
null for nonepublic LocalinventoryCustomBatchRequestEntry setBatchId(Long batchId)
batchId - batchId or null for nonepublic LocalInventory getLocalInventory()
null for nonepublic LocalinventoryCustomBatchRequestEntry setLocalInventory(LocalInventory localInventory)
localInventory - localInventory or null for nonepublic BigInteger getMerchantId()
null for nonepublic LocalinventoryCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId - merchantId or null for nonepublic String getMethod()
null for nonepublic LocalinventoryCustomBatchRequestEntry setMethod(String method)
method - method or null for nonepublic String getProductId()
null for nonepublic LocalinventoryCustomBatchRequestEntry setProductId(String productId)
productId - productId or null for nonepublic LocalinventoryCustomBatchRequestEntry set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LocalinventoryCustomBatchRequestEntry clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.