public final class PosCustomBatchRequestEntry
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 |
---|
PosCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
PosCustomBatchRequestEntry |
clone() |
Long |
getBatchId()
An entry ID, unique within the batch request.
|
PosInventory |
getInventory()
The inventory to submit.
|
BigInteger |
getMerchantId()
The ID of the POS data provider.
|
String |
getMethod()
The method of the batch entry.
|
PosSale |
getSale()
The sale information to submit.
|
PosStore |
getStore()
The store information to submit.
|
String |
getStoreCode()
The store code.
|
BigInteger |
getTargetMerchantId()
The ID of the account for which to get/submit data.
|
PosCustomBatchRequestEntry |
set(String fieldName,
Object value) |
PosCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
PosCustomBatchRequestEntry |
setInventory(PosInventory inventory)
The inventory to submit.
|
PosCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the POS data provider.
|
PosCustomBatchRequestEntry |
setMethod(String method)
The method of the batch entry.
|
PosCustomBatchRequestEntry |
setSale(PosSale sale)
The sale information to submit.
|
PosCustomBatchRequestEntry |
setStore(PosStore store)
The store information to submit.
|
PosCustomBatchRequestEntry |
setStoreCode(String storeCode)
The store code.
|
PosCustomBatchRequestEntry |
setTargetMerchantId(BigInteger targetMerchantId)
The ID of the account for which to get/submit data.
|
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 PosCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic PosInventory getInventory()
null
for nonepublic PosCustomBatchRequestEntry setInventory(PosInventory inventory)
inventory
- inventory or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic PosCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic PosCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic PosSale getSale()
null
for nonepublic PosCustomBatchRequestEntry setSale(PosSale sale)
sale
- sale or null
for nonepublic PosStore getStore()
null
for nonepublic PosCustomBatchRequestEntry setStore(PosStore store)
store
- store or null
for nonepublic String getStoreCode()
null
for nonepublic PosCustomBatchRequestEntry setStoreCode(String storeCode)
storeCode
- storeCode or null
for nonepublic BigInteger getTargetMerchantId()
null
for nonepublic PosCustomBatchRequestEntry setTargetMerchantId(BigInteger targetMerchantId)
targetMerchantId
- targetMerchantId or null
for nonepublic PosCustomBatchRequestEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PosCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.