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.
|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, 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 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 TransitTable getTransitTimeTable()
null
for nonepublic DeliveryTime setTransitTimeTable(TransitTable transitTimeTable)
transitTimeTable
- transitTimeTable 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–2019 Google. All rights reserved.