public final class ProductsCustomBatchRequestEntry 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 |
---|
ProductsCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
ProductsCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
BigInteger |
getFeedId()
The Content API feed id.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod()
The method of the batch entry.
|
Product |
getProduct()
The product to insert.
|
String |
getProductId()
The ID of the product to get or delete.
|
ProductsCustomBatchRequestEntry |
set(String fieldName,
Object value) |
ProductsCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
ProductsCustomBatchRequestEntry |
setFeedId(BigInteger feedId)
The Content API feed id.
|
ProductsCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
ProductsCustomBatchRequestEntry |
setMethod(String method)
The method of the batch entry.
|
ProductsCustomBatchRequestEntry |
setProduct(Product product)
The product to insert.
|
ProductsCustomBatchRequestEntry |
setProductId(String productId)
The ID of the product to get or delete.
|
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 ProductsCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic BigInteger getFeedId()
null
for nonepublic ProductsCustomBatchRequestEntry setFeedId(BigInteger feedId)
feedId
- feedId or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic ProductsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic ProductsCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic Product getProduct()
null
for nonepublic ProductsCustomBatchRequestEntry setProduct(Product product)
product
- product or null
for nonepublic String getProductId()
null
for nonepublic ProductsCustomBatchRequestEntry setProductId(String productId)
productId
- productId or null
for nonepublic ProductsCustomBatchRequestEntry set(String fieldName, Object value)
set
in class GenericJson
public ProductsCustomBatchRequestEntry clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.