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 PricePerBuyer extends \Google\Model
21{
22  public $auctionTier;
23  protected $billedBuyerType = Buyer::class;
24  protected $billedBuyerDataType = '';
25  protected $buyerType = Buyer::class;
26  protected $buyerDataType = '';
27  protected $priceType = Price::class;
28  protected $priceDataType = '';
29
30  public function setAuctionTier($auctionTier)
31  {
32    $this->auctionTier = $auctionTier;
33  }
34  public function getAuctionTier()
35  {
36    return $this->auctionTier;
37  }
38  /**
39   * @param Buyer
40   */
41  public function setBilledBuyer(Buyer $billedBuyer)
42  {
43    $this->billedBuyer = $billedBuyer;
44  }
45  /**
46   * @return Buyer
47   */
48  public function getBilledBuyer()
49  {
50    return $this->billedBuyer;
51  }
52  /**
53   * @param Buyer
54   */
55  public function setBuyer(Buyer $buyer)
56  {
57    $this->buyer = $buyer;
58  }
59  /**
60   * @return Buyer
61   */
62  public function getBuyer()
63  {
64    return $this->buyer;
65  }
66  /**
67   * @param Price
68   */
69  public function setPrice(Price $price)
70  {
71    $this->price = $price;
72  }
73  /**
74   * @return Price
75   */
76  public function getPrice()
77  {
78    return $this->price;
79  }
80}
81
82// Adding a class alias for backwards compatibility with the previous class name.
83class_alias(PricePerBuyer::class, 'Google_Service_AdExchangeBuyer_PricePerBuyer');
84