public final class HolidaysHoliday
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 |
---|
HolidaysHoliday() |
Modifier and Type | Method and Description |
---|---|
HolidaysHoliday |
clone() |
String |
getCountryCode()
The CLDR territory code of the country in which the holiday is available.
|
String |
getDate()
Date of the holiday, in ISO 8601 format.
|
String |
getDeliveryGuaranteeDate()
Date on which the order has to arrive at the customer's, in ISO 8601 format.
|
BigInteger |
getDeliveryGuaranteeHour()
Hour of the day in the delivery location's timezone on the guaranteed delivery date by which
the order has to arrive at the customer's.
|
String |
getId()
Unique identifier for the holiday to be used when configuring holiday cutoffs.
|
String |
getType()
The holiday type.
|
HolidaysHoliday |
set(String fieldName,
Object value) |
HolidaysHoliday |
setCountryCode(String countryCode)
The CLDR territory code of the country in which the holiday is available.
|
HolidaysHoliday |
setDate(String date)
Date of the holiday, in ISO 8601 format.
|
HolidaysHoliday |
setDeliveryGuaranteeDate(String deliveryGuaranteeDate)
Date on which the order has to arrive at the customer's, in ISO 8601 format.
|
HolidaysHoliday |
setDeliveryGuaranteeHour(BigInteger deliveryGuaranteeHour)
Hour of the day in the delivery location's timezone on the guaranteed delivery date by which
the order has to arrive at the customer's.
|
HolidaysHoliday |
setId(String id)
Unique identifier for the holiday to be used when configuring holiday cutoffs.
|
HolidaysHoliday |
setType(String type)
The holiday type.
|
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 getCountryCode()
null
for nonepublic HolidaysHoliday setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic String getDate()
null
for nonepublic HolidaysHoliday setDate(String date)
date
- date or null
for nonepublic String getDeliveryGuaranteeDate()
null
for nonepublic HolidaysHoliday setDeliveryGuaranteeDate(String deliveryGuaranteeDate)
deliveryGuaranteeDate
- deliveryGuaranteeDate or null
for nonepublic BigInteger getDeliveryGuaranteeHour()
null
for nonepublic HolidaysHoliday setDeliveryGuaranteeHour(BigInteger deliveryGuaranteeHour)
deliveryGuaranteeHour
- deliveryGuaranteeHour or null
for nonepublic String getId()
null
for nonepublic HolidaysHoliday setId(String id)
id
- id or null
for nonepublic String getType()
null
for nonepublic HolidaysHoliday setType(String type)
type
- type or null
for nonepublic HolidaysHoliday set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public HolidaysHoliday clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.