<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ShoppingContent;

class WarehouseCutoffTime extends \Google\Model
{
  /**
   * Required. Hour (24-hour clock) of the cutoff time until which an order has
   * to be placed to be processed in the same day by the warehouse. Hour is
   * based on the timezone of warehouse.
   *
   * @var int
   */
  public $hour;
  /**
   * Required. Minute of the cutoff time until which an order has to be placed
   * to be processed in the same day by the warehouse. Minute is based on the
   * timezone of warehouse.
   *
   * @var int
   */
  public $minute;

  /**
   * Required. Hour (24-hour clock) of the cutoff time until which an order has
   * to be placed to be processed in the same day by the warehouse. Hour is
   * based on the timezone of warehouse.
   *
   * @param int $hour
   */
  public function setHour($hour)
  {
    $this->hour = $hour;
  }
  /**
   * @return int
   */
  public function getHour()
  {
    return $this->hour;
  }
  /**
   * Required. Minute of the cutoff time until which an order has to be placed
   * to be processed in the same day by the warehouse. Minute is based on the
   * timezone of warehouse.
   *
   * @param int $minute
   */
  public function setMinute($minute)
  {
    $this->minute = $minute;
  }
  /**
   * @return int
   */
  public function getMinute()
  {
    return $this->minute;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WarehouseCutoffTime::class, 'Google_Service_ShoppingContent_WarehouseCutoffTime');
