source: vendor/google/apiclient-services/src/Cloudchannel/GoogleCloudChannelV1Offer.php

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

Upload project files

  • Property mode set to 100644
File size: 4.3 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\Cloudchannel;
19
20class GoogleCloudChannelV1Offer extends \Google\Collection
21{
22 protected $collection_key = 'priceByResources';
23 protected $constraintsType = GoogleCloudChannelV1Constraints::class;
24 protected $constraintsDataType = '';
25 /**
26 * @var string
27 */
28 public $dealCode;
29 /**
30 * @var string
31 */
32 public $endTime;
33 protected $marketingInfoType = GoogleCloudChannelV1MarketingInfo::class;
34 protected $marketingInfoDataType = '';
35 /**
36 * @var string
37 */
38 public $name;
39 protected $parameterDefinitionsType = GoogleCloudChannelV1ParameterDefinition::class;
40 protected $parameterDefinitionsDataType = 'array';
41 protected $planType = GoogleCloudChannelV1Plan::class;
42 protected $planDataType = '';
43 protected $priceByResourcesType = GoogleCloudChannelV1PriceByResource::class;
44 protected $priceByResourcesDataType = 'array';
45 protected $skuType = GoogleCloudChannelV1Sku::class;
46 protected $skuDataType = '';
47 /**
48 * @var string
49 */
50 public $startTime;
51
52 /**
53 * @param GoogleCloudChannelV1Constraints
54 */
55 public function setConstraints(GoogleCloudChannelV1Constraints $constraints)
56 {
57 $this->constraints = $constraints;
58 }
59 /**
60 * @return GoogleCloudChannelV1Constraints
61 */
62 public function getConstraints()
63 {
64 return $this->constraints;
65 }
66 /**
67 * @param string
68 */
69 public function setDealCode($dealCode)
70 {
71 $this->dealCode = $dealCode;
72 }
73 /**
74 * @return string
75 */
76 public function getDealCode()
77 {
78 return $this->dealCode;
79 }
80 /**
81 * @param string
82 */
83 public function setEndTime($endTime)
84 {
85 $this->endTime = $endTime;
86 }
87 /**
88 * @return string
89 */
90 public function getEndTime()
91 {
92 return $this->endTime;
93 }
94 /**
95 * @param GoogleCloudChannelV1MarketingInfo
96 */
97 public function setMarketingInfo(GoogleCloudChannelV1MarketingInfo $marketingInfo)
98 {
99 $this->marketingInfo = $marketingInfo;
100 }
101 /**
102 * @return GoogleCloudChannelV1MarketingInfo
103 */
104 public function getMarketingInfo()
105 {
106 return $this->marketingInfo;
107 }
108 /**
109 * @param string
110 */
111 public function setName($name)
112 {
113 $this->name = $name;
114 }
115 /**
116 * @return string
117 */
118 public function getName()
119 {
120 return $this->name;
121 }
122 /**
123 * @param GoogleCloudChannelV1ParameterDefinition[]
124 */
125 public function setParameterDefinitions($parameterDefinitions)
126 {
127 $this->parameterDefinitions = $parameterDefinitions;
128 }
129 /**
130 * @return GoogleCloudChannelV1ParameterDefinition[]
131 */
132 public function getParameterDefinitions()
133 {
134 return $this->parameterDefinitions;
135 }
136 /**
137 * @param GoogleCloudChannelV1Plan
138 */
139 public function setPlan(GoogleCloudChannelV1Plan $plan)
140 {
141 $this->plan = $plan;
142 }
143 /**
144 * @return GoogleCloudChannelV1Plan
145 */
146 public function getPlan()
147 {
148 return $this->plan;
149 }
150 /**
151 * @param GoogleCloudChannelV1PriceByResource[]
152 */
153 public function setPriceByResources($priceByResources)
154 {
155 $this->priceByResources = $priceByResources;
156 }
157 /**
158 * @return GoogleCloudChannelV1PriceByResource[]
159 */
160 public function getPriceByResources()
161 {
162 return $this->priceByResources;
163 }
164 /**
165 * @param GoogleCloudChannelV1Sku
166 */
167 public function setSku(GoogleCloudChannelV1Sku $sku)
168 {
169 $this->sku = $sku;
170 }
171 /**
172 * @return GoogleCloudChannelV1Sku
173 */
174 public function getSku()
175 {
176 return $this->sku;
177 }
178 /**
179 * @param string
180 */
181 public function setStartTime($startTime)
182 {
183 $this->startTime = $startTime;
184 }
185 /**
186 * @return string
187 */
188 public function getStartTime()
189 {
190 return $this->startTime;
191 }
192}
193
194// Adding a class alias for backwards compatibility with the previous class name.
195class_alias(GoogleCloudChannelV1Offer::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Offer');
Note: See TracBrowser for help on using the repository browser.