target.apidocs.com.google.api.services.content.model.DeliveryTime.html Maven / Gradle / Ivy
DeliveryTime (Content API for Shopping v2.1-rev20190513-1.28.0)
com.google.api.services.content.model
Class DeliveryTime
- 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.DeliveryTime
-
public final class DeliveryTime
extends com.google.api.client.json.GenericJson
Model definition for DeliveryTime.
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
DeliveryTime()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DeliveryTime
clone()
CutoffTime
getCutoffTime()
Business days cutoff time definition.
List<HolidayCutoff>
getHolidayCutoffs()
Holiday cutoff definitions.
Long
getMaxHandlingTimeInDays()
Maximum number of business days spent before an order is shipped.
Long
getMaxTransitTimeInDays()
Maximum number of business days that is spent in transit.
Long
getMinHandlingTimeInDays()
Minimum number of business days spent before an order is shipped.
Long
getMinTransitTimeInDays()
Minimum number of business days that is spent in transit.
TransitTable
getTransitTimeTable()
Transit time table, number of business days spent in transit based on row and column
dimensions.
DeliveryTime
set(String fieldName,
Object value)
DeliveryTime
setCutoffTime(CutoffTime cutoffTime)
Business days cutoff time definition.
DeliveryTime
setHolidayCutoffs(List<HolidayCutoff> holidayCutoffs)
Holiday cutoff definitions.
DeliveryTime
setMaxHandlingTimeInDays(Long maxHandlingTimeInDays)
Maximum number of business days spent before an order is shipped.
DeliveryTime
setMaxTransitTimeInDays(Long maxTransitTimeInDays)
Maximum number of business days that is spent in transit.
DeliveryTime
setMinHandlingTimeInDays(Long minHandlingTimeInDays)
Minimum number of business days spent before an order is shipped.
DeliveryTime
setMinTransitTimeInDays(Long minTransitTimeInDays)
Minimum number of business days that is spent in transit.
DeliveryTime
setTransitTimeTable(TransitTable transitTimeTable)
Transit time table, number of business days spent in transit based on row and column
dimensions.
-
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, 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
-
getCutoffTime
public CutoffTime getCutoffTime()
Business days cutoff time definition. If not configured the cutoff time will be defaulted to
8AM PST.
- Returns:
- value or
null
for none
-
setCutoffTime
public DeliveryTime setCutoffTime(CutoffTime cutoffTime)
Business days cutoff time definition. If not configured the cutoff time will be defaulted to
8AM PST.
- Parameters:
cutoffTime
- cutoffTime or null
for none
-
getHolidayCutoffs
public List<HolidayCutoff> getHolidayCutoffs()
Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific
shipping.
- Returns:
- value or
null
for none
-
setHolidayCutoffs
public DeliveryTime setHolidayCutoffs(List<HolidayCutoff> holidayCutoffs)
Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific
shipping.
- Parameters:
holidayCutoffs
- holidayCutoffs or null
for none
-
getMaxHandlingTimeInDays
public Long getMaxHandlingTimeInDays()
Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1
means next day shipped. Must be greater than or equal to minHandlingTimeInDays.
- Returns:
- value or
null
for none
-
setMaxHandlingTimeInDays
public DeliveryTime setMaxHandlingTimeInDays(Long maxHandlingTimeInDays)
Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1
means next day shipped. Must be greater than or equal to minHandlingTimeInDays.
- Parameters:
maxHandlingTimeInDays
- maxHandlingTimeInDays or null
for none
-
getMaxTransitTimeInDays
public Long getMaxTransitTimeInDays()
Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means
next day delivery. Must be greater than or equal to minTransitTimeInDays.
- Returns:
- value or
null
for none
-
setMaxTransitTimeInDays
public DeliveryTime setMaxTransitTimeInDays(Long maxTransitTimeInDays)
Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means
next day delivery. Must be greater than or equal to minTransitTimeInDays.
- Parameters:
maxTransitTimeInDays
- maxTransitTimeInDays or null
for none
-
getMinHandlingTimeInDays
public Long getMinHandlingTimeInDays()
Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1
means next day shipped.
- Returns:
- value or
null
for none
-
setMinHandlingTimeInDays
public DeliveryTime setMinHandlingTimeInDays(Long minHandlingTimeInDays)
Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1
means next day shipped.
- Parameters:
minHandlingTimeInDays
- minHandlingTimeInDays or null
for none
-
getMinTransitTimeInDays
public Long getMinTransitTimeInDays()
Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means
next day delivery. Either {min,max}transitTimeInDays or transitTimeTable must be set, but not
both.
- Returns:
- value or
null
for none
-
setMinTransitTimeInDays
public DeliveryTime setMinTransitTimeInDays(Long minTransitTimeInDays)
Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means
next day delivery. Either {min,max}transitTimeInDays or transitTimeTable must be set, but not
both.
- Parameters:
minTransitTimeInDays
- minTransitTimeInDays or null
for none
-
getTransitTimeTable
public TransitTable getTransitTimeTable()
Transit time table, number of business days spent in transit based on row and column
dimensions. Either {min,max}transitTimeInDays or transitTimeTable can be set, but not both.
- Returns:
- value or
null
for none
-
setTransitTimeTable
public DeliveryTime setTransitTimeTable(TransitTable transitTimeTable)
Transit time table, number of business days spent in transit based on row and column
dimensions. Either {min,max}transitTimeInDays or transitTimeTable can be set, but not both.
- Parameters:
transitTimeTable
- transitTimeTable or null
for none
-
set
public DeliveryTime set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DeliveryTime clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy