public final class DeliveryTime
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeliveryTime() |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public CutoffTime getCutoffTime()
null
for nonepublic DeliveryTime setCutoffTime(CutoffTime cutoffTime)
cutoffTime
- cutoffTime or null
for nonepublic BusinessDayConfig getHandlingBusinessDayConfig()
null
for nonepublic DeliveryTime setHandlingBusinessDayConfig(BusinessDayConfig handlingBusinessDayConfig)
handlingBusinessDayConfig
- handlingBusinessDayConfig or null
for nonepublic List<HolidayCutoff> getHolidayCutoffs()
null
for nonepublic DeliveryTime setHolidayCutoffs(List<HolidayCutoff> holidayCutoffs)
holidayCutoffs
- holidayCutoffs or null
for nonepublic Long getMaxHandlingTimeInDays()
null
for nonepublic DeliveryTime setMaxHandlingTimeInDays(Long maxHandlingTimeInDays)
maxHandlingTimeInDays
- maxHandlingTimeInDays or null
for nonepublic Long getMaxTransitTimeInDays()
null
for nonepublic DeliveryTime setMaxTransitTimeInDays(Long maxTransitTimeInDays)
maxTransitTimeInDays
- maxTransitTimeInDays or null
for nonepublic Long getMinHandlingTimeInDays()
null
for nonepublic DeliveryTime setMinHandlingTimeInDays(Long minHandlingTimeInDays)
minHandlingTimeInDays
- minHandlingTimeInDays or null
for nonepublic Long getMinTransitTimeInDays()
null
for nonepublic DeliveryTime setMinTransitTimeInDays(Long minTransitTimeInDays)
minTransitTimeInDays
- minTransitTimeInDays or null
for nonepublic BusinessDayConfig getTransitBusinessDayConfig()
null
for nonepublic DeliveryTime setTransitBusinessDayConfig(BusinessDayConfig transitBusinessDayConfig)
transitBusinessDayConfig
- transitBusinessDayConfig or null
for nonepublic TransitTable getTransitTimeTable()
null
for nonepublic DeliveryTime setTransitTimeTable(TransitTable transitTimeTable)
transitTimeTable
- transitTimeTable or null
for nonepublic List<WarehouseBasedDeliveryTime> getWarehouseBasedDeliveryTimes()
null
for nonepublic DeliveryTime setWarehouseBasedDeliveryTimes(List<WarehouseBasedDeliveryTime> warehouseBasedDeliveryTimes)
warehouseBasedDeliveryTimes
- warehouseBasedDeliveryTimes or null
for nonepublic DeliveryTime set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DeliveryTime clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.