target.apidocs.com.google.api.services.content.model.WarehouseBasedDeliveryTime.html Maven / Gradle / Ivy
WarehouseBasedDeliveryTime (Content API for Shopping v2.1-rev20240609-2.0.0)
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 com.google.api.client.json.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
com.google.api.client.util.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
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
WarehouseBasedDeliveryTime
clone()
String
getCarrier()
Required.
String
getCarrierService()
Required.
String
getOriginAdministrativeArea()
Shipping origin's state.
String
getOriginCity()
Shipping origin's city.
String
getOriginCountry()
Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-
org/cldr/blob/latest/common/main/en.xml).
String
getOriginPostalCode()
Shipping origin.
String
getOriginStreetAddress()
Shipping origin's street address.
String
getWarehouseName()
The name of the warehouse.
WarehouseBasedDeliveryTime
set(String fieldName,
Object value)
WarehouseBasedDeliveryTime
setCarrier(String carrier)
Required.
WarehouseBasedDeliveryTime
setCarrierService(String carrierService)
Required.
WarehouseBasedDeliveryTime
setOriginAdministrativeArea(String originAdministrativeArea)
Shipping origin's state.
WarehouseBasedDeliveryTime
setOriginCity(String originCity)
Shipping origin's city.
WarehouseBasedDeliveryTime
setOriginCountry(String originCountry)
Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-
org/cldr/blob/latest/common/main/en.xml).
WarehouseBasedDeliveryTime
setOriginPostalCode(String originPostalCode)
Shipping origin.
WarehouseBasedDeliveryTime
setOriginStreetAddress(String originStreetAddress)
Shipping origin's street address.
WarehouseBasedDeliveryTime
setWarehouseName(String warehouseName)
The name of the warehouse.
-
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 through 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 through 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 through 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 through 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()
Shipping origin's state.
- Returns:
- value or
null
for none
-
setOriginAdministrativeArea
public WarehouseBasedDeliveryTime setOriginAdministrativeArea(String originAdministrativeArea)
Shipping origin's state.
- Parameters:
originAdministrativeArea
- originAdministrativeArea or null
for none
-
getOriginCity
public String getOriginCity()
Shipping origin's city.
- Returns:
- value or
null
for none
-
setOriginCity
public WarehouseBasedDeliveryTime setOriginCity(String originCity)
Shipping origin's city.
- Parameters:
originCity
- originCity or null
for none
-
getOriginCountry
public String getOriginCountry()
Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-
org/cldr/blob/latest/common/main/en.xml).
- Returns:
- value or
null
for none
-
setOriginCountry
public WarehouseBasedDeliveryTime setOriginCountry(String originCountry)
Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-
org/cldr/blob/latest/common/main/en.xml).
- Parameters:
originCountry
- originCountry or null
for none
-
getOriginPostalCode
public String getOriginPostalCode()
Shipping origin.
- Returns:
- value or
null
for none
-
setOriginPostalCode
public WarehouseBasedDeliveryTime setOriginPostalCode(String originPostalCode)
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
-
getWarehouseName
public String getWarehouseName()
The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is
set, the below fields will be ignored. The warehouse info will be read from warehouse.
- Returns:
- value or
null
for none
-
setWarehouseName
public WarehouseBasedDeliveryTime setWarehouseName(String warehouseName)
The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is
set, the below fields will be ignored. The warehouse info will be read from warehouse.
- Parameters:
warehouseName
- warehouseName or null
for none
-
set
public WarehouseBasedDeliveryTime set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public WarehouseBasedDeliveryTime clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy