public final class CarriersCarrier
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 | 
|---|
CarriersCarrier()  | 
| Modifier and Type | Method and Description | 
|---|---|
CarriersCarrier | 
clone()  | 
String | 
getCountry()
The CLDR country code of the carrier (for example, "US"). 
 | 
List<String> | 
getEddServices()
A list of services supported for EDD (Estimated Delivery Date) calculation. 
 | 
String | 
getName()
The name of the carrier (for example, `"UPS"`). 
 | 
List<String> | 
getServices()
A list of supported services (for example, `"ground"`) for that carrier. 
 | 
CarriersCarrier | 
set(String fieldName,
   Object value)  | 
CarriersCarrier | 
setCountry(String country)
The CLDR country code of the carrier (for example, "US"). 
 | 
CarriersCarrier | 
setEddServices(List<String> eddServices)
A list of services supported for EDD (Estimated Delivery Date) calculation. 
 | 
CarriersCarrier | 
setName(String name)
The name of the carrier (for example, `"UPS"`). 
 | 
CarriersCarrier | 
setServices(List<String> services)
A list of supported services (for example, `"ground"`) for that carrier. 
 | 
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 String getCountry()
null for nonepublic CarriersCarrier setCountry(String country)
country - country or null for nonepublic List<String> getEddServices()
null for nonepublic CarriersCarrier setEddServices(List<String> eddServices)
eddServices - eddServices or null for nonepublic String getName()
null for nonepublic CarriersCarrier setName(String name)
name - name or null for nonepublic List<String> getServices()
null for nonepublic CarriersCarrier setServices(List<String> services)
services - services or null for nonepublic CarriersCarrier set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CarriersCarrier clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.