target.apidocs.com.google.api.services.content.model.PosCustomBatchResponseEntry.html Maven / Gradle / Ivy
PosCustomBatchResponseEntry (Content API for Shopping v2-rev20200902-1.30.10)
com.google.api.services.content.model
Class PosCustomBatchResponseEntry
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.PosCustomBatchResponseEntry
-
public final class PosCustomBatchResponseEntry
extends GenericJson
Model definition for PosCustomBatchResponseEntry.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PosCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PosCustomBatchResponseEntry
clone()
Long
getBatchId()
The ID of the request entry to which this entry responds.
Errors
getErrors()
A list of errors defined if, and only if, the request failed.
PosInventory
getInventory()
The updated inventory information.
String
getKind()
Identifies what kind of resource this is.
PosSale
getSale()
The updated sale information.
PosStore
getStore()
The retrieved or updated store information.
PosCustomBatchResponseEntry
set(String fieldName,
Object value)
PosCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry to which this entry responds.
PosCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors defined if, and only if, the request failed.
PosCustomBatchResponseEntry
setInventory(PosInventory inventory)
The updated inventory information.
PosCustomBatchResponseEntry
setKind(String kind)
Identifies what kind of resource this is.
PosCustomBatchResponseEntry
setSale(PosSale sale)
The updated sale information.
PosCustomBatchResponseEntry
setStore(PosStore store)
The retrieved or updated store information.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBatchId
public Long getBatchId()
The ID of the request entry to which this entry responds.
- Returns:
- value or
null
for none
-
setBatchId
public PosCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry to which this entry responds.
- Parameters:
batchId
- batchId or null
for none
-
getErrors
public Errors getErrors()
A list of errors defined if, and only if, the request failed.
- Returns:
- value or
null
for none
-
setErrors
public PosCustomBatchResponseEntry setErrors(Errors errors)
A list of errors defined if, and only if, the request failed.
- Parameters:
errors
- errors or null
for none
-
getInventory
public PosInventory getInventory()
The updated inventory information.
- Returns:
- value or
null
for none
-
setInventory
public PosCustomBatchResponseEntry setInventory(PosInventory inventory)
The updated inventory information.
- Parameters:
inventory
- inventory or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"`content#posCustomBatchResponseEntry`"
- Returns:
- value or
null
for none
-
setKind
public PosCustomBatchResponseEntry setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"`content#posCustomBatchResponseEntry`"
- Parameters:
kind
- kind or null
for none
-
getSale
public PosSale getSale()
The updated sale information.
- Returns:
- value or
null
for none
-
setSale
public PosCustomBatchResponseEntry setSale(PosSale sale)
The updated sale information.
- Parameters:
sale
- sale or null
for none
-
getStore
public PosStore getStore()
The retrieved or updated store information.
- Returns:
- value or
null
for none
-
setStore
public PosCustomBatchResponseEntry setStore(PosStore store)
The retrieved or updated store information.
- Parameters:
store
- store or null
for none
-
set
public PosCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public PosCustomBatchResponseEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy