target.apidocs.com.google.api.services.content.model.OrdersCustomBatchResponseEntry.html Maven / Gradle / Ivy
OrdersCustomBatchResponseEntry (Content API for Shopping v2-rev20200902-1.30.10)
com.google.api.services.content.model
Class OrdersCustomBatchResponseEntry
- 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.OrdersCustomBatchResponseEntry
-
public final class OrdersCustomBatchResponseEntry
extends GenericJson
Model definition for OrdersCustomBatchResponseEntry.
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
OrdersCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OrdersCustomBatchResponseEntry
clone()
Long
getBatchId()
The ID of the request entry this entry responds to.
Errors
getErrors()
A list of errors defined if and only if the request failed.
String
getExecutionStatus()
The status of the execution.
String
getKind()
Identifies what kind of resource this is.
Order
getOrder()
The retrieved order.
OrdersCustomBatchResponseEntry
set(String fieldName,
Object value)
OrdersCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry this entry responds to.
OrdersCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors defined if and only if the request failed.
OrdersCustomBatchResponseEntry
setExecutionStatus(String executionStatus)
The status of the execution.
OrdersCustomBatchResponseEntry
setKind(String kind)
Identifies what kind of resource this is.
OrdersCustomBatchResponseEntry
setOrder(Order order)
The retrieved order.
-
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 this entry responds to.
- Returns:
- value or
null
for none
-
setBatchId
public OrdersCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry this entry responds to.
- 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 OrdersCustomBatchResponseEntry setErrors(Errors errors)
A list of errors defined if and only if the request failed.
- Parameters:
errors
- errors or null
for none
-
getExecutionStatus
public String getExecutionStatus()
The status of the execution. Only defined if - the request was successful; and - the method is
not `get`, `getByMerchantOrderId`, or one of the test methods.
Acceptable values are: - "`duplicate`" - "`executed`"
- Returns:
- value or
null
for none
-
setExecutionStatus
public OrdersCustomBatchResponseEntry setExecutionStatus(String executionStatus)
The status of the execution. Only defined if - the request was successful; and - the method is
not `get`, `getByMerchantOrderId`, or one of the test methods.
Acceptable values are: - "`duplicate`" - "`executed`"
- Parameters:
executionStatus
- executionStatus or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"`content#ordersCustomBatchResponseEntry`"
- Returns:
- value or
null
for none
-
setKind
public OrdersCustomBatchResponseEntry setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"`content#ordersCustomBatchResponseEntry`"
- Parameters:
kind
- kind or null
for none
-
getOrder
public Order getOrder()
The retrieved order. Only defined if the method is `get` and if the request was successful.
- Returns:
- value or
null
for none
-
setOrder
public OrdersCustomBatchResponseEntry setOrder(Order order)
The retrieved order. Only defined if the method is `get` and if the request was successful.
- Parameters:
order
- order or null
for none
-
set
public OrdersCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OrdersCustomBatchResponseEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy