1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\ShoppingContent;
19
20class ProductShipping extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $country;
26  /**
27   * @var string
28   */
29  public $locationGroupName;
30  /**
31   * @var string
32   */
33  public $locationId;
34  /**
35   * @var string
36   */
37  public $maxHandlingTime;
38  /**
39   * @var string
40   */
41  public $maxTransitTime;
42  /**
43   * @var string
44   */
45  public $minHandlingTime;
46  /**
47   * @var string
48   */
49  public $minTransitTime;
50  /**
51   * @var string
52   */
53  public $postalCode;
54  protected $priceType = Price::class;
55  protected $priceDataType = '';
56  /**
57   * @var string
58   */
59  public $region;
60  /**
61   * @var string
62   */
63  public $service;
64
65  /**
66   * @param string
67   */
68  public function setCountry($country)
69  {
70    $this->country = $country;
71  }
72  /**
73   * @return string
74   */
75  public function getCountry()
76  {
77    return $this->country;
78  }
79  /**
80   * @param string
81   */
82  public function setLocationGroupName($locationGroupName)
83  {
84    $this->locationGroupName = $locationGroupName;
85  }
86  /**
87   * @return string
88   */
89  public function getLocationGroupName()
90  {
91    return $this->locationGroupName;
92  }
93  /**
94   * @param string
95   */
96  public function setLocationId($locationId)
97  {
98    $this->locationId = $locationId;
99  }
100  /**
101   * @return string
102   */
103  public function getLocationId()
104  {
105    return $this->locationId;
106  }
107  /**
108   * @param string
109   */
110  public function setMaxHandlingTime($maxHandlingTime)
111  {
112    $this->maxHandlingTime = $maxHandlingTime;
113  }
114  /**
115   * @return string
116   */
117  public function getMaxHandlingTime()
118  {
119    return $this->maxHandlingTime;
120  }
121  /**
122   * @param string
123   */
124  public function setMaxTransitTime($maxTransitTime)
125  {
126    $this->maxTransitTime = $maxTransitTime;
127  }
128  /**
129   * @return string
130   */
131  public function getMaxTransitTime()
132  {
133    return $this->maxTransitTime;
134  }
135  /**
136   * @param string
137   */
138  public function setMinHandlingTime($minHandlingTime)
139  {
140    $this->minHandlingTime = $minHandlingTime;
141  }
142  /**
143   * @return string
144   */
145  public function getMinHandlingTime()
146  {
147    return $this->minHandlingTime;
148  }
149  /**
150   * @param string
151   */
152  public function setMinTransitTime($minTransitTime)
153  {
154    $this->minTransitTime = $minTransitTime;
155  }
156  /**
157   * @return string
158   */
159  public function getMinTransitTime()
160  {
161    return $this->minTransitTime;
162  }
163  /**
164   * @param string
165   */
166  public function setPostalCode($postalCode)
167  {
168    $this->postalCode = $postalCode;
169  }
170  /**
171   * @return string
172   */
173  public function getPostalCode()
174  {
175    return $this->postalCode;
176  }
177  /**
178   * @param Price
179   */
180  public function setPrice(Price $price)
181  {
182    $this->price = $price;
183  }
184  /**
185   * @return Price
186   */
187  public function getPrice()
188  {
189    return $this->price;
190  }
191  /**
192   * @param string
193   */
194  public function setRegion($region)
195  {
196    $this->region = $region;
197  }
198  /**
199   * @return string
200   */
201  public function getRegion()
202  {
203    return $this->region;
204  }
205  /**
206   * @param string
207   */
208  public function setService($service)
209  {
210    $this->service = $service;
211  }
212  /**
213   * @return string
214   */
215  public function getService()
216  {
217    return $this->service;
218  }
219}
220
221// Adding a class alias for backwards compatibility with the previous class name.
222class_alias(ProductShipping::class, 'Google_Service_ShoppingContent_ProductShipping');
223