public final class ReturnPolicyOnline
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ReturnPolicyOnline() |
| Modifier and Type | Method and Description |
|---|---|
ReturnPolicyOnline |
clone() |
List<String> |
getCountries()
The countries of sale where the return policy is applicable.
|
List<String> |
getItemConditions()
The item conditions that are accepted for returns.
|
String |
getLabel()
The unique user-defined label of the return policy.
|
String |
getName()
The name of the policy as shown in Merchant Center.
|
ReturnPolicyOnlinePolicy |
getPolicy()
The return policy.
|
ReturnPolicyOnlineRestockingFee |
getRestockingFee()
The restocking fee that applies to all return reason categories.
|
List<String> |
getReturnMethods()
The return methods of how customers can return an item.
|
String |
getReturnPolicyId()
Output only.
|
String |
getReturnPolicyUri()
The return policy uri.
|
List<ReturnPolicyOnlineReturnReasonCategoryInfo> |
getReturnReasonCategoryInfo()
The return reason category information.
|
ReturnPolicyOnline |
set(String fieldName,
Object value) |
ReturnPolicyOnline |
setCountries(List<String> countries)
The countries of sale where the return policy is applicable.
|
ReturnPolicyOnline |
setItemConditions(List<String> itemConditions)
The item conditions that are accepted for returns.
|
ReturnPolicyOnline |
setLabel(String label)
The unique user-defined label of the return policy.
|
ReturnPolicyOnline |
setName(String name)
The name of the policy as shown in Merchant Center.
|
ReturnPolicyOnline |
setPolicy(ReturnPolicyOnlinePolicy policy)
The return policy.
|
ReturnPolicyOnline |
setRestockingFee(ReturnPolicyOnlineRestockingFee restockingFee)
The restocking fee that applies to all return reason categories.
|
ReturnPolicyOnline |
setReturnMethods(List<String> returnMethods)
The return methods of how customers can return an item.
|
ReturnPolicyOnline |
setReturnPolicyId(String returnPolicyId)
Output only.
|
ReturnPolicyOnline |
setReturnPolicyUri(String returnPolicyUri)
The return policy uri.
|
ReturnPolicyOnline |
setReturnReasonCategoryInfo(List<ReturnPolicyOnlineReturnReasonCategoryInfo> returnReasonCategoryInfo)
The return reason category information.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getCountries()
null for nonepublic ReturnPolicyOnline setCountries(List<String> countries)
countries - countries or null for nonepublic List<String> getItemConditions()
null for nonepublic ReturnPolicyOnline setItemConditions(List<String> itemConditions)
itemConditions - itemConditions or null for nonepublic String getLabel()
null for nonepublic ReturnPolicyOnline setLabel(String label)
label - label or null for nonepublic String getName()
null for nonepublic ReturnPolicyOnline setName(String name)
name - name or null for nonepublic ReturnPolicyOnlinePolicy getPolicy()
null for nonepublic ReturnPolicyOnline setPolicy(ReturnPolicyOnlinePolicy policy)
policy - policy or null for nonepublic ReturnPolicyOnlineRestockingFee getRestockingFee()
null for nonepublic ReturnPolicyOnline setRestockingFee(ReturnPolicyOnlineRestockingFee restockingFee)
restockingFee - restockingFee or null for nonepublic List<String> getReturnMethods()
null for nonepublic ReturnPolicyOnline setReturnMethods(List<String> returnMethods)
returnMethods - returnMethods or null for nonepublic String getReturnPolicyId()
null for nonepublic ReturnPolicyOnline setReturnPolicyId(String returnPolicyId)
returnPolicyId - returnPolicyId or null for nonepublic String getReturnPolicyUri()
null for nonepublic ReturnPolicyOnline setReturnPolicyUri(String returnPolicyUri)
returnPolicyUri - returnPolicyUri or null for nonepublic List<ReturnPolicyOnlineReturnReasonCategoryInfo> getReturnReasonCategoryInfo()
null for nonepublic ReturnPolicyOnline setReturnReasonCategoryInfo(List<ReturnPolicyOnlineReturnReasonCategoryInfo> returnReasonCategoryInfo)
returnReasonCategoryInfo - returnReasonCategoryInfo or null for nonepublic ReturnPolicyOnline set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ReturnPolicyOnline clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.