public final class HolidayCutoff
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 |
---|
HolidayCutoff() |
Modifier and Type | Method and Description |
---|---|
HolidayCutoff |
clone() |
String |
getDeadlineDate()
Date of the order deadline, in ISO 8601 format.
|
Long |
getDeadlineHour()
Hour of the day on the deadline date until which the order has to be placed to qualify for the
delivery guarantee.
|
String |
getDeadlineTimezone()
Timezone identifier for the deadline hour (for example, "Europe/Zurich").
|
String |
getHolidayId()
Unique identifier for the holiday.
|
String |
getVisibleFromDate()
Date on which the deadline will become visible to consumers in ISO 8601 format.
|
HolidayCutoff |
set(String fieldName,
Object value) |
HolidayCutoff |
setDeadlineDate(String deadlineDate)
Date of the order deadline, in ISO 8601 format.
|
HolidayCutoff |
setDeadlineHour(Long deadlineHour)
Hour of the day on the deadline date until which the order has to be placed to qualify for the
delivery guarantee.
|
HolidayCutoff |
setDeadlineTimezone(String deadlineTimezone)
Timezone identifier for the deadline hour (for example, "Europe/Zurich").
|
HolidayCutoff |
setHolidayId(String holidayId)
Unique identifier for the holiday.
|
HolidayCutoff |
setVisibleFromDate(String visibleFromDate)
Date on which the deadline will become visible to consumers in ISO 8601 format.
|
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 String getDeadlineDate()
null
for nonepublic HolidayCutoff setDeadlineDate(String deadlineDate)
deadlineDate
- deadlineDate or null
for nonepublic Long getDeadlineHour()
null
for nonepublic HolidayCutoff setDeadlineHour(Long deadlineHour)
deadlineHour
- deadlineHour or null
for nonepublic String getDeadlineTimezone()
null
for nonepublic HolidayCutoff setDeadlineTimezone(String deadlineTimezone)
deadlineTimezone
- deadlineTimezone or null
for nonepublic String getHolidayId()
null
for nonepublic HolidayCutoff setHolidayId(String holidayId)
holidayId
- holidayId or null
for nonepublic String getVisibleFromDate()
null
for nonepublic HolidayCutoff setVisibleFromDate(String visibleFromDate)
visibleFromDate
- visibleFromDate or null
for nonepublic HolidayCutoff set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public HolidayCutoff clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.