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 OrderTrackingSignalShippingInfo extends \Google\Model
21{
22  protected $actualDeliveryTimeType = DateTime::class;
23  protected $actualDeliveryTimeDataType = '';
24  /**
25   * @var string
26   */
27  public $carrierName;
28  /**
29   * @var string
30   */
31  public $carrierServiceName;
32  protected $earliestDeliveryPromiseTimeType = DateTime::class;
33  protected $earliestDeliveryPromiseTimeDataType = '';
34  protected $latestDeliveryPromiseTimeType = DateTime::class;
35  protected $latestDeliveryPromiseTimeDataType = '';
36  /**
37   * @var string
38   */
39  public $originPostalCode;
40  /**
41   * @var string
42   */
43  public $originRegionCode;
44  /**
45   * @var string
46   */
47  public $shipmentId;
48  protected $shippedTimeType = DateTime::class;
49  protected $shippedTimeDataType = '';
50  /**
51   * @var string
52   */
53  public $shippingStatus;
54  /**
55   * @var string
56   */
57  public $trackingId;
58
59  /**
60   * @param DateTime
61   */
62  public function setActualDeliveryTime(DateTime $actualDeliveryTime)
63  {
64    $this->actualDeliveryTime = $actualDeliveryTime;
65  }
66  /**
67   * @return DateTime
68   */
69  public function getActualDeliveryTime()
70  {
71    return $this->actualDeliveryTime;
72  }
73  /**
74   * @param string
75   */
76  public function setCarrierName($carrierName)
77  {
78    $this->carrierName = $carrierName;
79  }
80  /**
81   * @return string
82   */
83  public function getCarrierName()
84  {
85    return $this->carrierName;
86  }
87  /**
88   * @param string
89   */
90  public function setCarrierServiceName($carrierServiceName)
91  {
92    $this->carrierServiceName = $carrierServiceName;
93  }
94  /**
95   * @return string
96   */
97  public function getCarrierServiceName()
98  {
99    return $this->carrierServiceName;
100  }
101  /**
102   * @param DateTime
103   */
104  public function setEarliestDeliveryPromiseTime(DateTime $earliestDeliveryPromiseTime)
105  {
106    $this->earliestDeliveryPromiseTime = $earliestDeliveryPromiseTime;
107  }
108  /**
109   * @return DateTime
110   */
111  public function getEarliestDeliveryPromiseTime()
112  {
113    return $this->earliestDeliveryPromiseTime;
114  }
115  /**
116   * @param DateTime
117   */
118  public function setLatestDeliveryPromiseTime(DateTime $latestDeliveryPromiseTime)
119  {
120    $this->latestDeliveryPromiseTime = $latestDeliveryPromiseTime;
121  }
122  /**
123   * @return DateTime
124   */
125  public function getLatestDeliveryPromiseTime()
126  {
127    return $this->latestDeliveryPromiseTime;
128  }
129  /**
130   * @param string
131   */
132  public function setOriginPostalCode($originPostalCode)
133  {
134    $this->originPostalCode = $originPostalCode;
135  }
136  /**
137   * @return string
138   */
139  public function getOriginPostalCode()
140  {
141    return $this->originPostalCode;
142  }
143  /**
144   * @param string
145   */
146  public function setOriginRegionCode($originRegionCode)
147  {
148    $this->originRegionCode = $originRegionCode;
149  }
150  /**
151   * @return string
152   */
153  public function getOriginRegionCode()
154  {
155    return $this->originRegionCode;
156  }
157  /**
158   * @param string
159   */
160  public function setShipmentId($shipmentId)
161  {
162    $this->shipmentId = $shipmentId;
163  }
164  /**
165   * @return string
166   */
167  public function getShipmentId()
168  {
169    return $this->shipmentId;
170  }
171  /**
172   * @param DateTime
173   */
174  public function setShippedTime(DateTime $shippedTime)
175  {
176    $this->shippedTime = $shippedTime;
177  }
178  /**
179   * @return DateTime
180   */
181  public function getShippedTime()
182  {
183    return $this->shippedTime;
184  }
185  /**
186   * @param string
187   */
188  public function setShippingStatus($shippingStatus)
189  {
190    $this->shippingStatus = $shippingStatus;
191  }
192  /**
193   * @return string
194   */
195  public function getShippingStatus()
196  {
197    return $this->shippingStatus;
198  }
199  /**
200   * @param string
201   */
202  public function setTrackingId($trackingId)
203  {
204    $this->trackingId = $trackingId;
205  }
206  /**
207   * @return string
208   */
209  public function getTrackingId()
210  {
211    return $this->trackingId;
212  }
213}
214
215// Adding a class alias for backwards compatibility with the previous class name.
216class_alias(OrderTrackingSignalShippingInfo::class, 'Google_Service_ShoppingContent_OrderTrackingSignalShippingInfo');
217