public final class ShippingSettings
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 |
---|
ShippingSettings() |
Modifier and Type | Method and Description |
---|---|
ShippingSettings |
clone() |
BigInteger |
getAccountId()
The ID of the account to which these account shipping settings belong.
|
List<PostalCodeGroup> |
getPostalCodeGroups()
A list of postal code groups that can be referred to in `services`.
|
List<Service> |
getServices()
The target account's list of services.
|
List<Warehouse> |
getWarehouses()
Optional.
|
ShippingSettings |
set(String fieldName,
Object value) |
ShippingSettings |
setAccountId(BigInteger accountId)
The ID of the account to which these account shipping settings belong.
|
ShippingSettings |
setPostalCodeGroups(List<PostalCodeGroup> postalCodeGroups)
A list of postal code groups that can be referred to in `services`.
|
ShippingSettings |
setServices(List<Service> services)
The target account's list of services.
|
ShippingSettings |
setWarehouses(List<Warehouse> warehouses)
Optional.
|
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 BigInteger getAccountId()
null
for nonepublic ShippingSettings setAccountId(BigInteger accountId)
accountId
- accountId or null
for nonepublic List<PostalCodeGroup> getPostalCodeGroups()
null
for nonepublic ShippingSettings setPostalCodeGroups(List<PostalCodeGroup> postalCodeGroups)
postalCodeGroups
- postalCodeGroups or null
for nonepublic List<Service> getServices()
null
for nonepublic ShippingSettings setServices(List<Service> services)
services
- services or null
for nonepublic List<Warehouse> getWarehouses()
null
for nonepublic ShippingSettings setWarehouses(List<Warehouse> warehouses)
warehouses
- warehouses or null
for nonepublic ShippingSettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ShippingSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.