public final class RegionalinventoryCustomBatchRequestEntry
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 |
---|
RegionalinventoryCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
RegionalinventoryCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
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 price and availability.
|
RegionalInventory |
getRegionalInventory()
Price and availability of the product.
|
RegionalinventoryCustomBatchRequestEntry |
set(String fieldName,
Object value) |
RegionalinventoryCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
RegionalinventoryCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
RegionalinventoryCustomBatchRequestEntry |
setMethod(String method)
Method of the batch request entry.
|
RegionalinventoryCustomBatchRequestEntry |
setProductId(String productId)
The ID of the product for which to update price and availability.
|
RegionalinventoryCustomBatchRequestEntry |
setRegionalInventory(RegionalInventory regionalInventory)
Price and availability of the product.
|
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 RegionalinventoryCustomBatchRequestEntry()
public Long getBatchId()
null
for nonepublic RegionalinventoryCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic RegionalinventoryCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic RegionalinventoryCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic String getProductId()
null
for nonepublic RegionalinventoryCustomBatchRequestEntry setProductId(String productId)
productId
- productId or null
for nonepublic RegionalInventory getRegionalInventory()
null
for nonepublic RegionalinventoryCustomBatchRequestEntry setRegionalInventory(RegionalInventory regionalInventory)
regionalInventory
- regionalInventory or null
for nonepublic RegionalinventoryCustomBatchRequestEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RegionalinventoryCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.