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

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

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






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












com.google.api.services.content.model

Class DeliveryTime

    • Constructor Detail

      • DeliveryTime

        public DeliveryTime()
    • Method Detail

      • getCutoffTime

        public CutoffTime getCutoffTime()
        Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig.
        Returns:
        value or null for none
      • setCutoffTime

        public DeliveryTime setCutoffTime(CutoffTime cutoffTime)
        Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig.
        Parameters:
        cutoffTime - cutoffTime or null for none
      • getHandlingBusinessDayConfig

        public BusinessDayConfig getHandlingBusinessDayConfig()
        The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
        Returns:
        value or null for none
      • setHandlingBusinessDayConfig

        public DeliveryTime setHandlingBusinessDayConfig(BusinessDayConfig handlingBusinessDayConfig)
        The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
        Parameters:
        handlingBusinessDayConfig - handlingBusinessDayConfig or null for none
      • getHolidayCutoffs

        public List<HolidayCutoff> getHolidayCutoffs()
        Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.
        Returns:
        value or null for none
      • setHolidayCutoffs

        public DeliveryTime setHolidayCutoffs(List<HolidayCutoff> holidayCutoffs)
        Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.
        Parameters:
        holidayCutoffs - holidayCutoffs or null for none
      • getMaxHandlingTimeInDays

        public Long getMaxHandlingTimeInDays()
        Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.
        Returns:
        value or null for none
      • setMaxHandlingTimeInDays

        public DeliveryTime setMaxHandlingTimeInDays(Long maxHandlingTimeInDays)
        Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.
        Parameters:
        maxHandlingTimeInDays - maxHandlingTimeInDays or null for none
      • getMaxTransitTimeInDays

        public Long getMaxTransitTimeInDays()
        Maximum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.
        Returns:
        value or null for none
      • setMaxTransitTimeInDays

        public DeliveryTime setMaxTransitTimeInDays(Long maxTransitTimeInDays)
        Maximum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.
        Parameters:
        maxTransitTimeInDays - maxTransitTimeInDays or null for none
      • getMinHandlingTimeInDays

        public Long getMinHandlingTimeInDays()
        Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.
        Returns:
        value or null for none
      • setMinHandlingTimeInDays

        public DeliveryTime setMinHandlingTimeInDays(Long minHandlingTimeInDays)
        Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.
        Parameters:
        minHandlingTimeInDays - minHandlingTimeInDays or null for none
      • getMinTransitTimeInDays

        public Long getMinTransitTimeInDays()
        Minimum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.
        Returns:
        value or null for none
      • setMinTransitTimeInDays

        public DeliveryTime setMinTransitTimeInDays(Long minTransitTimeInDays)
        Minimum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.
        Parameters:
        minTransitTimeInDays - minTransitTimeInDays or null for none
      • getTransitBusinessDayConfig

        public BusinessDayConfig getTransitBusinessDayConfig()
        The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.
        Returns:
        value or null for none
      • setTransitBusinessDayConfig

        public DeliveryTime setTransitBusinessDayConfig(BusinessDayConfig transitBusinessDayConfig)
        The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.
        Parameters:
        transitBusinessDayConfig - transitBusinessDayConfig or null for none
      • getTransitTimeTable

        public TransitTable getTransitTimeTable()
        Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both.
        Returns:
        value or null for none
      • setTransitTimeTable

        public DeliveryTime setTransitTimeTable(TransitTable transitTimeTable)
        Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both.
        Parameters:
        transitTimeTable - transitTimeTable or null for none
      • getWarehouseBasedDeliveryTimes

        public List<WarehouseBasedDeliveryTime> getWarehouseBasedDeliveryTimes()
        Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in DeliveryTime should be set.
        Returns:
        value or null for none
      • setWarehouseBasedDeliveryTimes

        public 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. When set, no other transit time related field in DeliveryTime should be set.
        Parameters:
        warehouseBasedDeliveryTimes - warehouseBasedDeliveryTimes or null for none
      • set

        public DeliveryTime set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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