target.apidocs.com.google.api.services.content.model.WarehouseBasedDeliveryTime.html Maven / Gradle / Ivy
WarehouseBasedDeliveryTime (Content API for Shopping v2-rev20210911-1.32.1)
com.google.api.services.content.model
Class WarehouseBasedDeliveryTime
- 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.WarehouseBasedDeliveryTime
-
public final class WarehouseBasedDeliveryTime
extends GenericJson
Model definition for WarehouseBasedDeliveryTime.
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
WarehouseBasedDeliveryTime()
-
Method Summary
-
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
-
getCarrier
public String getCarrier()
Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported carriers can be
retrieved via the `listSupportedCarriers` method.
- Returns:
- value or
null
for none
-
setCarrier
public WarehouseBasedDeliveryTime setCarrier(String carrier)
Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported carriers can be
retrieved via the `listSupportedCarriers` method.
- Parameters:
carrier
- carrier or null
for none
-
getCarrierService
public String getCarrierService()
Required. Carrier service, such as `"ground"` or `"2 days"`. The list of supported services for
a carrier can be retrieved via the `listSupportedCarriers` method. The name of the service must
be in the eddSupportedServices list.
- Returns:
- value or
null
for none
-
setCarrierService
public WarehouseBasedDeliveryTime setCarrierService(String carrierService)
Required. Carrier service, such as `"ground"` or `"2 days"`. The list of supported services for
a carrier can be retrieved via the `listSupportedCarriers` method. The name of the service must
be in the eddSupportedServices list.
- Parameters:
carrierService
- carrierService or null
for none
-
getOriginAdministrativeArea
public String getOriginAdministrativeArea()
Required. Shipping origin's state.
- Returns:
- value or
null
for none
-
setOriginAdministrativeArea
public WarehouseBasedDeliveryTime setOriginAdministrativeArea(String originAdministrativeArea)
Required. Shipping origin's state.
- Parameters:
originAdministrativeArea
- originAdministrativeArea or null
for none
-
getOriginCity
public String getOriginCity()
Required. Shipping origin's city.
- Returns:
- value or
null
for none
-
setOriginCity
public WarehouseBasedDeliveryTime setOriginCity(String originCity)
Required. Shipping origin's city.
- Parameters:
originCity
- originCity or null
for none
-
getOriginCountry
public String getOriginCountry()
Required. Shipping origin's country represented as a [CLDR territory
code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
- Returns:
- value or
null
for none
-
setOriginCountry
public WarehouseBasedDeliveryTime setOriginCountry(String originCountry)
Required. Shipping origin's country represented as a [CLDR territory
code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
- Parameters:
originCountry
- originCountry or null
for none
-
getOriginPostalCode
public String getOriginPostalCode()
Required. Shipping origin.
- Returns:
- value or
null
for none
-
setOriginPostalCode
public WarehouseBasedDeliveryTime setOriginPostalCode(String originPostalCode)
Required. Shipping origin.
- Parameters:
originPostalCode
- originPostalCode or null
for none
-
getOriginStreetAddress
public String getOriginStreetAddress()
Shipping origin's street address
- Returns:
- value or
null
for none
-
setOriginStreetAddress
public WarehouseBasedDeliveryTime setOriginStreetAddress(String originStreetAddress)
Shipping origin's street address
- Parameters:
originStreetAddress
- originStreetAddress or null
for none
-
set
public WarehouseBasedDeliveryTime set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public WarehouseBasedDeliveryTime clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy