PageRenderTime 26ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/google/apiclient-services/src/AdExchangeBuyerII/Deal.php

https://gitlab.com/Japang-Jawara/jawara-penilaian
PHP | 461 lines | 240 code | 4 blank | 217 comment | 0 complexity | ad7db72c6b94df36566d129de8437ec4 MD5 | raw file
  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. namespace Google\Service\AdExchangeBuyerII;
  18. class Deal extends \Google\Collection
  19. {
  20. protected $collection_key = 'targetingCriterion';
  21. /**
  22. * @var string
  23. */
  24. public $availableEndTime;
  25. /**
  26. * @var string
  27. */
  28. public $availableStartTime;
  29. protected $buyerPrivateDataType = PrivateData::class;
  30. protected $buyerPrivateDataDataType = '';
  31. /**
  32. * @var string
  33. */
  34. public $createProductId;
  35. /**
  36. * @var string
  37. */
  38. public $createProductRevision;
  39. /**
  40. * @var string
  41. */
  42. public $createTime;
  43. /**
  44. * @var string
  45. */
  46. public $creativePreApprovalPolicy;
  47. protected $creativeRestrictionsType = CreativeRestrictions::class;
  48. protected $creativeRestrictionsDataType = '';
  49. /**
  50. * @var string
  51. */
  52. public $creativeSafeFrameCompatibility;
  53. /**
  54. * @var string
  55. */
  56. public $dealId;
  57. protected $dealServingMetadataType = DealServingMetadata::class;
  58. protected $dealServingMetadataDataType = '';
  59. protected $dealTermsType = DealTerms::class;
  60. protected $dealTermsDataType = '';
  61. protected $deliveryControlType = DeliveryControl::class;
  62. protected $deliveryControlDataType = '';
  63. /**
  64. * @var string
  65. */
  66. public $description;
  67. /**
  68. * @var string
  69. */
  70. public $displayName;
  71. /**
  72. * @var string
  73. */
  74. public $externalDealId;
  75. /**
  76. * @var bool
  77. */
  78. public $isSetupComplete;
  79. /**
  80. * @var string
  81. */
  82. public $programmaticCreativeSource;
  83. /**
  84. * @var string
  85. */
  86. public $proposalId;
  87. protected $sellerContactsType = ContactInformation::class;
  88. protected $sellerContactsDataType = 'array';
  89. /**
  90. * @var string
  91. */
  92. public $syndicationProduct;
  93. protected $targetingType = MarketplaceTargeting::class;
  94. protected $targetingDataType = '';
  95. protected $targetingCriterionType = TargetingCriteria::class;
  96. protected $targetingCriterionDataType = 'array';
  97. /**
  98. * @var string
  99. */
  100. public $updateTime;
  101. /**
  102. * @var string
  103. */
  104. public $webPropertyCode;
  105. /**
  106. * @param string
  107. */
  108. public function setAvailableEndTime($availableEndTime)
  109. {
  110. $this->availableEndTime = $availableEndTime;
  111. }
  112. /**
  113. * @return string
  114. */
  115. public function getAvailableEndTime()
  116. {
  117. return $this->availableEndTime;
  118. }
  119. /**
  120. * @param string
  121. */
  122. public function setAvailableStartTime($availableStartTime)
  123. {
  124. $this->availableStartTime = $availableStartTime;
  125. }
  126. /**
  127. * @return string
  128. */
  129. public function getAvailableStartTime()
  130. {
  131. return $this->availableStartTime;
  132. }
  133. /**
  134. * @param PrivateData
  135. */
  136. public function setBuyerPrivateData(PrivateData $buyerPrivateData)
  137. {
  138. $this->buyerPrivateData = $buyerPrivateData;
  139. }
  140. /**
  141. * @return PrivateData
  142. */
  143. public function getBuyerPrivateData()
  144. {
  145. return $this->buyerPrivateData;
  146. }
  147. /**
  148. * @param string
  149. */
  150. public function setCreateProductId($createProductId)
  151. {
  152. $this->createProductId = $createProductId;
  153. }
  154. /**
  155. * @return string
  156. */
  157. public function getCreateProductId()
  158. {
  159. return $this->createProductId;
  160. }
  161. /**
  162. * @param string
  163. */
  164. public function setCreateProductRevision($createProductRevision)
  165. {
  166. $this->createProductRevision = $createProductRevision;
  167. }
  168. /**
  169. * @return string
  170. */
  171. public function getCreateProductRevision()
  172. {
  173. return $this->createProductRevision;
  174. }
  175. /**
  176. * @param string
  177. */
  178. public function setCreateTime($createTime)
  179. {
  180. $this->createTime = $createTime;
  181. }
  182. /**
  183. * @return string
  184. */
  185. public function getCreateTime()
  186. {
  187. return $this->createTime;
  188. }
  189. /**
  190. * @param string
  191. */
  192. public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
  193. {
  194. $this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
  195. }
  196. /**
  197. * @return string
  198. */
  199. public function getCreativePreApprovalPolicy()
  200. {
  201. return $this->creativePreApprovalPolicy;
  202. }
  203. /**
  204. * @param CreativeRestrictions
  205. */
  206. public function setCreativeRestrictions(CreativeRestrictions $creativeRestrictions)
  207. {
  208. $this->creativeRestrictions = $creativeRestrictions;
  209. }
  210. /**
  211. * @return CreativeRestrictions
  212. */
  213. public function getCreativeRestrictions()
  214. {
  215. return $this->creativeRestrictions;
  216. }
  217. /**
  218. * @param string
  219. */
  220. public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
  221. {
  222. $this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
  223. }
  224. /**
  225. * @return string
  226. */
  227. public function getCreativeSafeFrameCompatibility()
  228. {
  229. return $this->creativeSafeFrameCompatibility;
  230. }
  231. /**
  232. * @param string
  233. */
  234. public function setDealId($dealId)
  235. {
  236. $this->dealId = $dealId;
  237. }
  238. /**
  239. * @return string
  240. */
  241. public function getDealId()
  242. {
  243. return $this->dealId;
  244. }
  245. /**
  246. * @param DealServingMetadata
  247. */
  248. public function setDealServingMetadata(DealServingMetadata $dealServingMetadata)
  249. {
  250. $this->dealServingMetadata = $dealServingMetadata;
  251. }
  252. /**
  253. * @return DealServingMetadata
  254. */
  255. public function getDealServingMetadata()
  256. {
  257. return $this->dealServingMetadata;
  258. }
  259. /**
  260. * @param DealTerms
  261. */
  262. public function setDealTerms(DealTerms $dealTerms)
  263. {
  264. $this->dealTerms = $dealTerms;
  265. }
  266. /**
  267. * @return DealTerms
  268. */
  269. public function getDealTerms()
  270. {
  271. return $this->dealTerms;
  272. }
  273. /**
  274. * @param DeliveryControl
  275. */
  276. public function setDeliveryControl(DeliveryControl $deliveryControl)
  277. {
  278. $this->deliveryControl = $deliveryControl;
  279. }
  280. /**
  281. * @return DeliveryControl
  282. */
  283. public function getDeliveryControl()
  284. {
  285. return $this->deliveryControl;
  286. }
  287. /**
  288. * @param string
  289. */
  290. public function setDescription($description)
  291. {
  292. $this->description = $description;
  293. }
  294. /**
  295. * @return string
  296. */
  297. public function getDescription()
  298. {
  299. return $this->description;
  300. }
  301. /**
  302. * @param string
  303. */
  304. public function setDisplayName($displayName)
  305. {
  306. $this->displayName = $displayName;
  307. }
  308. /**
  309. * @return string
  310. */
  311. public function getDisplayName()
  312. {
  313. return $this->displayName;
  314. }
  315. /**
  316. * @param string
  317. */
  318. public function setExternalDealId($externalDealId)
  319. {
  320. $this->externalDealId = $externalDealId;
  321. }
  322. /**
  323. * @return string
  324. */
  325. public function getExternalDealId()
  326. {
  327. return $this->externalDealId;
  328. }
  329. /**
  330. * @param bool
  331. */
  332. public function setIsSetupComplete($isSetupComplete)
  333. {
  334. $this->isSetupComplete = $isSetupComplete;
  335. }
  336. /**
  337. * @return bool
  338. */
  339. public function getIsSetupComplete()
  340. {
  341. return $this->isSetupComplete;
  342. }
  343. /**
  344. * @param string
  345. */
  346. public function setProgrammaticCreativeSource($programmaticCreativeSource)
  347. {
  348. $this->programmaticCreativeSource = $programmaticCreativeSource;
  349. }
  350. /**
  351. * @return string
  352. */
  353. public function getProgrammaticCreativeSource()
  354. {
  355. return $this->programmaticCreativeSource;
  356. }
  357. /**
  358. * @param string
  359. */
  360. public function setProposalId($proposalId)
  361. {
  362. $this->proposalId = $proposalId;
  363. }
  364. /**
  365. * @return string
  366. */
  367. public function getProposalId()
  368. {
  369. return $this->proposalId;
  370. }
  371. /**
  372. * @param ContactInformation[]
  373. */
  374. public function setSellerContacts($sellerContacts)
  375. {
  376. $this->sellerContacts = $sellerContacts;
  377. }
  378. /**
  379. * @return ContactInformation[]
  380. */
  381. public function getSellerContacts()
  382. {
  383. return $this->sellerContacts;
  384. }
  385. /**
  386. * @param string
  387. */
  388. public function setSyndicationProduct($syndicationProduct)
  389. {
  390. $this->syndicationProduct = $syndicationProduct;
  391. }
  392. /**
  393. * @return string
  394. */
  395. public function getSyndicationProduct()
  396. {
  397. return $this->syndicationProduct;
  398. }
  399. /**
  400. * @param MarketplaceTargeting
  401. */
  402. public function setTargeting(MarketplaceTargeting $targeting)
  403. {
  404. $this->targeting = $targeting;
  405. }
  406. /**
  407. * @return MarketplaceTargeting
  408. */
  409. public function getTargeting()
  410. {
  411. return $this->targeting;
  412. }
  413. /**
  414. * @param TargetingCriteria[]
  415. */
  416. public function setTargetingCriterion($targetingCriterion)
  417. {
  418. $this->targetingCriterion = $targetingCriterion;
  419. }
  420. /**
  421. * @return TargetingCriteria[]
  422. */
  423. public function getTargetingCriterion()
  424. {
  425. return $this->targetingCriterion;
  426. }
  427. /**
  428. * @param string
  429. */
  430. public function setUpdateTime($updateTime)
  431. {
  432. $this->updateTime = $updateTime;
  433. }
  434. /**
  435. * @return string
  436. */
  437. public function getUpdateTime()
  438. {
  439. return $this->updateTime;
  440. }
  441. /**
  442. * @param string
  443. */
  444. public function setWebPropertyCode($webPropertyCode)
  445. {
  446. $this->webPropertyCode = $webPropertyCode;
  447. }
  448. /**
  449. * @return string
  450. */
  451. public function getWebPropertyCode()
  452. {
  453. return $this->webPropertyCode;
  454. }
  455. }
  456. // Adding a class alias for backwards compatibility with the previous class name.
  457. class_alias(Deal::class, 'Google_Service_AdExchangeBuyerII_Deal');