public final class ProductsCustomBatchRequestEntry
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 |
---|
ProductsCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
ProductsCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod() |
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 |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
ProductsCustomBatchRequestEntry |
setMethod(String method) |
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, 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 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 com.google.api.client.json.GenericJson
public ProductsCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.