target.apidocs.com.google.api.services.content.model.DeliveryTime.html Maven / Gradle / Ivy
DeliveryTime (Content API for Shopping v2.1-rev20240609-2.0.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.
BusinessDayConfig
getHandlingBusinessDayConfig()
The business days during which orders can be handled.
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 are spent in transit.
Long
getMinHandlingTimeInDays()
Minimum number of business days spent before an order is shipped.
Long
getMinTransitTimeInDays()
Minimum number of business days that are spent in transit.
BusinessDayConfig
getTransitBusinessDayConfig()
The business days during which orders can be in-transit.
TransitTable
getTransitTimeTable()
Transit time table, number of business days spent in transit based on row and column
dimensions.
List<WarehouseBasedDeliveryTime>
getWarehouseBasedDeliveryTimes()
Indicates that the delivery time should be calculated per warehouse (shipping origin location)
based on the settings of the selected carrier.
DeliveryTime
set(String fieldName,
Object value)
DeliveryTime
setCutoffTime(CutoffTime cutoffTime)
Business days cutoff time definition.
DeliveryTime
setHandlingBusinessDayConfig(BusinessDayConfig handlingBusinessDayConfig)
The business days during which orders can be handled.
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 are 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 are spent in transit.
DeliveryTime
setTransitBusinessDayConfig(BusinessDayConfig transitBusinessDayConfig)
The business days during which orders can be in-transit.
DeliveryTime
setTransitTimeTable(TransitTable transitTimeTable)
Transit time table, number of business days spent in transit based on row and column
dimensions.
DeliveryTime
setWarehouseBasedDeliveryTimes(List<WarehouseBasedDeliveryTime> warehouseBasedDeliveryTimes)
Indicates that the delivery time should be calculated per warehouse (shipping origin location)
based on the settings of the selected carrier.
-
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
-
getCutoffTime
public CutoffTime getCutoffTime()
Business days cutoff time definition. If not configured, the cutoff time will be defaulted to
8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig.
- 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. If local delivery, use Service.StoreConfig.CutoffConfig.
- Parameters:
cutoffTime
- cutoffTime or null
for none
-
getHandlingBusinessDayConfig
public BusinessDayConfig getHandlingBusinessDayConfig()
The business days during which orders can be handled. If not provided, Monday to Friday
business days will be assumed.
- Returns:
- value or
null
for none
-
setHandlingBusinessDayConfig
public DeliveryTime setHandlingBusinessDayConfig(BusinessDayConfig handlingBusinessDayConfig)
The business days during which orders can be handled. If not provided, Monday to Friday
business days will be assumed.
- Parameters:
handlingBusinessDayConfig
- handlingBusinessDayConfig 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 are 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 are 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 are 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 are 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
-
getTransitBusinessDayConfig
public BusinessDayConfig getTransitBusinessDayConfig()
The business days during which orders can be in-transit. If not provided, Monday to Friday
business days will be assumed.
- Returns:
- value or
null
for none
-
setTransitBusinessDayConfig
public DeliveryTime setTransitBusinessDayConfig(BusinessDayConfig transitBusinessDayConfig)
The business days during which orders can be in-transit. If not provided, Monday to Friday
business days will be assumed.
- Parameters:
transitBusinessDayConfig
- transitBusinessDayConfig 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
-
getWarehouseBasedDeliveryTimes
public List<WarehouseBasedDeliveryTime> getWarehouseBasedDeliveryTimes()
Indicates that the delivery time should be calculated per warehouse (shipping origin location)
based on the settings of the selected carrier. When set, no other transit time related field in
DeliveryTime should be set.
- Returns:
- value or
null
for none
-
setWarehouseBasedDeliveryTimes
public DeliveryTime setWarehouseBasedDeliveryTimes(List<WarehouseBasedDeliveryTime> warehouseBasedDeliveryTimes)
Indicates that the delivery time should be calculated per warehouse (shipping origin location)
based on the settings of the selected carrier. When set, no other transit time related field in
DeliveryTime should be set.
- Parameters:
warehouseBasedDeliveryTimes
- warehouseBasedDeliveryTimes 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–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy