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\AdExchangeBuyer;
19
20class DealTerms extends \Google\Model
21{
22  public $brandingType;
23  public $crossListedExternalDealIdType;
24  public $description;
25  protected $estimatedGrossSpendType = Price::class;
26  protected $estimatedGrossSpendDataType = '';
27  public $estimatedImpressionsPerDay;
28  protected $guaranteedFixedPriceTermsType = DealTermsGuaranteedFixedPriceTerms::class;
29  protected $guaranteedFixedPriceTermsDataType = '';
30  protected $nonGuaranteedAuctionTermsType = DealTermsNonGuaranteedAuctionTerms::class;
31  protected $nonGuaranteedAuctionTermsDataType = '';
32  protected $nonGuaranteedFixedPriceTermsType = DealTermsNonGuaranteedFixedPriceTerms::class;
33  protected $nonGuaranteedFixedPriceTermsDataType = '';
34  protected $rubiconNonGuaranteedTermsType = DealTermsRubiconNonGuaranteedTerms::class;
35  protected $rubiconNonGuaranteedTermsDataType = '';
36  public $sellerTimeZone;
37
38  public function setBrandingType($brandingType)
39  {
40    $this->brandingType = $brandingType;
41  }
42  public function getBrandingType()
43  {
44    return $this->brandingType;
45  }
46  public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
47  {
48    $this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
49  }
50  public function getCrossListedExternalDealIdType()
51  {
52    return $this->crossListedExternalDealIdType;
53  }
54  public function setDescription($description)
55  {
56    $this->description = $description;
57  }
58  public function getDescription()
59  {
60    return $this->description;
61  }
62  /**
63   * @param Price
64   */
65  public function setEstimatedGrossSpend(Price $estimatedGrossSpend)
66  {
67    $this->estimatedGrossSpend = $estimatedGrossSpend;
68  }
69  /**
70   * @return Price
71   */
72  public function getEstimatedGrossSpend()
73  {
74    return $this->estimatedGrossSpend;
75  }
76  public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
77  {
78    $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
79  }
80  public function getEstimatedImpressionsPerDay()
81  {
82    return $this->estimatedImpressionsPerDay;
83  }
84  /**
85   * @param DealTermsGuaranteedFixedPriceTerms
86   */
87  public function setGuaranteedFixedPriceTerms(DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
88  {
89    $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
90  }
91  /**
92   * @return DealTermsGuaranteedFixedPriceTerms
93   */
94  public function getGuaranteedFixedPriceTerms()
95  {
96    return $this->guaranteedFixedPriceTerms;
97  }
98  /**
99   * @param DealTermsNonGuaranteedAuctionTerms
100   */
101  public function setNonGuaranteedAuctionTerms(DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
102  {
103    $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
104  }
105  /**
106   * @return DealTermsNonGuaranteedAuctionTerms
107   */
108  public function getNonGuaranteedAuctionTerms()
109  {
110    return $this->nonGuaranteedAuctionTerms;
111  }
112  /**
113   * @param DealTermsNonGuaranteedFixedPriceTerms
114   */
115  public function setNonGuaranteedFixedPriceTerms(DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
116  {
117    $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
118  }
119  /**
120   * @return DealTermsNonGuaranteedFixedPriceTerms
121   */
122  public function getNonGuaranteedFixedPriceTerms()
123  {
124    return $this->nonGuaranteedFixedPriceTerms;
125  }
126  /**
127   * @param DealTermsRubiconNonGuaranteedTerms
128   */
129  public function setRubiconNonGuaranteedTerms(DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
130  {
131    $this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
132  }
133  /**
134   * @return DealTermsRubiconNonGuaranteedTerms
135   */
136  public function getRubiconNonGuaranteedTerms()
137  {
138    return $this->rubiconNonGuaranteedTerms;
139  }
140  public function setSellerTimeZone($sellerTimeZone)
141  {
142    $this->sellerTimeZone = $sellerTimeZone;
143  }
144  public function getSellerTimeZone()
145  {
146    return $this->sellerTimeZone;
147  }
148}
149
150// Adding a class alias for backwards compatibility with the previous class name.
151class_alias(DealTerms::class, 'Google_Service_AdExchangeBuyer_DealTerms');
152