All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.HolidaysHoliday.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






HolidaysHoliday (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class HolidaysHoliday

    • Constructor Detail

      • HolidaysHoliday

        public HolidaysHoliday()
    • Method Detail

      • getCountryCode

        public String getCountryCode()
        The CLDR territory code of the country in which the holiday is available. For example, "US", "DE", "GB". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.
        Returns:
        value or null for none
      • setCountryCode

        public HolidaysHoliday setCountryCode(String countryCode)
        The CLDR territory code of the country in which the holiday is available. For example, "US", "DE", "GB". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.
        Parameters:
        countryCode - countryCode or null for none
      • getDate

        public String getDate()
        Date of the holiday, in ISO 8601 format. For example, "2016-12-25" for Christmas 2016. Always present.
        Returns:
        value or null for none
      • setDate

        public HolidaysHoliday setDate(String date)
        Date of the holiday, in ISO 8601 format. For example, "2016-12-25" for Christmas 2016. Always present.
        Parameters:
        date - date or null for none
      • getDeliveryGuaranteeDate

        public String getDeliveryGuaranteeDate()
        Date on which the order has to arrive at the customer's, in ISO 8601 format. For example, "2016-12-24" for 24th December 2016. Always present.
        Returns:
        value or null for none
      • setDeliveryGuaranteeDate

        public HolidaysHoliday setDeliveryGuaranteeDate(String deliveryGuaranteeDate)
        Date on which the order has to arrive at the customer's, in ISO 8601 format. For example, "2016-12-24" for 24th December 2016. Always present.
        Parameters:
        deliveryGuaranteeDate - deliveryGuaranteeDate or null for none
      • getDeliveryGuaranteeHour

        public 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. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
        Returns:
        value or null for none
      • setDeliveryGuaranteeHour

        public 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. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
        Parameters:
        deliveryGuaranteeHour - deliveryGuaranteeHour or null for none
      • getId

        public String getId()
        Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.
        Returns:
        value or null for none
      • setId

        public HolidaysHoliday setId(String id)
        Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.
        Parameters:
        id - id or null for none
      • getType

        public String getType()
        The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
        Returns:
        value or null for none
      • setType

        public HolidaysHoliday setType(String type)
        The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
        Parameters:
        type - type or null for none
      • clone

        public HolidaysHoliday 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