source: vendor/google/apiclient-services/src/ShoppingContent/TestOrder.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 5.2 KB
Line 
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 TestOrder extends \Google\Collection
21{
22 protected $collection_key = 'promotions';
23 protected $deliveryDetailsType = TestOrderDeliveryDetails::class;
24 protected $deliveryDetailsDataType = '';
25 /**
26 * @var bool
27 */
28 public $enableOrderinvoices;
29 /**
30 * @var string
31 */
32 public $kind;
33 protected $lineItemsType = TestOrderLineItem::class;
34 protected $lineItemsDataType = 'array';
35 /**
36 * @var string
37 */
38 public $notificationMode;
39 protected $pickupDetailsType = TestOrderPickupDetails::class;
40 protected $pickupDetailsDataType = '';
41 /**
42 * @var string
43 */
44 public $predefinedBillingAddress;
45 /**
46 * @var string
47 */
48 public $predefinedDeliveryAddress;
49 /**
50 * @var string
51 */
52 public $predefinedEmail;
53 /**
54 * @var string
55 */
56 public $predefinedPickupDetails;
57 protected $promotionsType = OrderPromotion::class;
58 protected $promotionsDataType = 'array';
59 protected $shippingCostType = Price::class;
60 protected $shippingCostDataType = '';
61 /**
62 * @var string
63 */
64 public $shippingOption;
65
66 /**
67 * @param TestOrderDeliveryDetails
68 */
69 public function setDeliveryDetails(TestOrderDeliveryDetails $deliveryDetails)
70 {
71 $this->deliveryDetails = $deliveryDetails;
72 }
73 /**
74 * @return TestOrderDeliveryDetails
75 */
76 public function getDeliveryDetails()
77 {
78 return $this->deliveryDetails;
79 }
80 /**
81 * @param bool
82 */
83 public function setEnableOrderinvoices($enableOrderinvoices)
84 {
85 $this->enableOrderinvoices = $enableOrderinvoices;
86 }
87 /**
88 * @return bool
89 */
90 public function getEnableOrderinvoices()
91 {
92 return $this->enableOrderinvoices;
93 }
94 /**
95 * @param string
96 */
97 public function setKind($kind)
98 {
99 $this->kind = $kind;
100 }
101 /**
102 * @return string
103 */
104 public function getKind()
105 {
106 return $this->kind;
107 }
108 /**
109 * @param TestOrderLineItem[]
110 */
111 public function setLineItems($lineItems)
112 {
113 $this->lineItems = $lineItems;
114 }
115 /**
116 * @return TestOrderLineItem[]
117 */
118 public function getLineItems()
119 {
120 return $this->lineItems;
121 }
122 /**
123 * @param string
124 */
125 public function setNotificationMode($notificationMode)
126 {
127 $this->notificationMode = $notificationMode;
128 }
129 /**
130 * @return string
131 */
132 public function getNotificationMode()
133 {
134 return $this->notificationMode;
135 }
136 /**
137 * @param TestOrderPickupDetails
138 */
139 public function setPickupDetails(TestOrderPickupDetails $pickupDetails)
140 {
141 $this->pickupDetails = $pickupDetails;
142 }
143 /**
144 * @return TestOrderPickupDetails
145 */
146 public function getPickupDetails()
147 {
148 return $this->pickupDetails;
149 }
150 /**
151 * @param string
152 */
153 public function setPredefinedBillingAddress($predefinedBillingAddress)
154 {
155 $this->predefinedBillingAddress = $predefinedBillingAddress;
156 }
157 /**
158 * @return string
159 */
160 public function getPredefinedBillingAddress()
161 {
162 return $this->predefinedBillingAddress;
163 }
164 /**
165 * @param string
166 */
167 public function setPredefinedDeliveryAddress($predefinedDeliveryAddress)
168 {
169 $this->predefinedDeliveryAddress = $predefinedDeliveryAddress;
170 }
171 /**
172 * @return string
173 */
174 public function getPredefinedDeliveryAddress()
175 {
176 return $this->predefinedDeliveryAddress;
177 }
178 /**
179 * @param string
180 */
181 public function setPredefinedEmail($predefinedEmail)
182 {
183 $this->predefinedEmail = $predefinedEmail;
184 }
185 /**
186 * @return string
187 */
188 public function getPredefinedEmail()
189 {
190 return $this->predefinedEmail;
191 }
192 /**
193 * @param string
194 */
195 public function setPredefinedPickupDetails($predefinedPickupDetails)
196 {
197 $this->predefinedPickupDetails = $predefinedPickupDetails;
198 }
199 /**
200 * @return string
201 */
202 public function getPredefinedPickupDetails()
203 {
204 return $this->predefinedPickupDetails;
205 }
206 /**
207 * @param OrderPromotion[]
208 */
209 public function setPromotions($promotions)
210 {
211 $this->promotions = $promotions;
212 }
213 /**
214 * @return OrderPromotion[]
215 */
216 public function getPromotions()
217 {
218 return $this->promotions;
219 }
220 /**
221 * @param Price
222 */
223 public function setShippingCost(Price $shippingCost)
224 {
225 $this->shippingCost = $shippingCost;
226 }
227 /**
228 * @return Price
229 */
230 public function getShippingCost()
231 {
232 return $this->shippingCost;
233 }
234 /**
235 * @param string
236 */
237 public function setShippingOption($shippingOption)
238 {
239 $this->shippingOption = $shippingOption;
240 }
241 /**
242 * @return string
243 */
244 public function getShippingOption()
245 {
246 return $this->shippingOption;
247 }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(TestOrder::class, 'Google_Service_ShoppingContent_TestOrder');
Note: See TracBrowser for help on using the repository browser.