cutoffTime = $cutoffTime; } /** * @return CutoffTime */ public function getCutoffTime() { return $this->cutoffTime; } /** * The business days during which orders can be handled. If not provided, * Monday to Friday business days will be assumed. * * @param BusinessDayConfig $handlingBusinessDayConfig */ public function setHandlingBusinessDayConfig(BusinessDayConfig $handlingBusinessDayConfig) { $this->handlingBusinessDayConfig = $handlingBusinessDayConfig; } /** * @return BusinessDayConfig */ public function getHandlingBusinessDayConfig() { return $this->handlingBusinessDayConfig; } /** * Holiday cutoff definitions. If configured, they specify order cutoff times * for holiday-specific shipping. * * @param HolidayCutoff[] $holidayCutoffs */ public function setHolidayCutoffs($holidayCutoffs) { $this->holidayCutoffs = $holidayCutoffs; } /** * @return HolidayCutoff[] */ public function getHolidayCutoffs() { return $this->holidayCutoffs; } /** * 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`. * * @param string $maxHandlingTimeInDays */ public function setMaxHandlingTimeInDays($maxHandlingTimeInDays) { $this->maxHandlingTimeInDays = $maxHandlingTimeInDays; } /** * @return string */ public function getMaxHandlingTimeInDays() { return $this->maxHandlingTimeInDays; } /** * 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`. * * @param string $maxTransitTimeInDays */ public function setMaxTransitTimeInDays($maxTransitTimeInDays) { $this->maxTransitTimeInDays = $maxTransitTimeInDays; } /** * @return string */ public function getMaxTransitTimeInDays() { return $this->maxTransitTimeInDays; } /** * Minimum number of business days spent before an order is shipped. 0 means * same day shipped, 1 means next day shipped. * * @param string $minHandlingTimeInDays */ public function setMinHandlingTimeInDays($minHandlingTimeInDays) { $this->minHandlingTimeInDays = $minHandlingTimeInDays; } /** * @return string */ public function getMinHandlingTimeInDays() { return $this->minHandlingTimeInDays; } /** * 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. * * @param string $minTransitTimeInDays */ public function setMinTransitTimeInDays($minTransitTimeInDays) { $this->minTransitTimeInDays = $minTransitTimeInDays; } /** * @return string */ public function getMinTransitTimeInDays() { return $this->minTransitTimeInDays; } /** * The business days during which orders can be in-transit. If not provided, * Monday to Friday business days will be assumed. * * @param BusinessDayConfig $transitBusinessDayConfig */ public function setTransitBusinessDayConfig(BusinessDayConfig $transitBusinessDayConfig) { $this->transitBusinessDayConfig = $transitBusinessDayConfig; } /** * @return BusinessDayConfig */ public function getTransitBusinessDayConfig() { return $this->transitBusinessDayConfig; } /** * 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. * * @param TransitTable $transitTimeTable */ public function setTransitTimeTable(TransitTable $transitTimeTable) { $this->transitTimeTable = $transitTimeTable; } /** * @return TransitTable */ public function getTransitTimeTable() { return $this->transitTimeTable; } /** * 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. * * @param WarehouseBasedDeliveryTime[] $warehouseBasedDeliveryTimes */ public function setWarehouseBasedDeliveryTimes($warehouseBasedDeliveryTimes) { $this->warehouseBasedDeliveryTimes = $warehouseBasedDeliveryTimes; } /** * @return WarehouseBasedDeliveryTime[] */ public function getWarehouseBasedDeliveryTimes() { return $this->warehouseBasedDeliveryTimes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DeliveryTime::class, 'Google_Service_ShoppingContent_DeliveryTime');