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 RepricingRuleReport extends \Google\Collection
21{
22  protected $collection_key = 'inapplicableProducts';
23  protected $buyboxWinningRuleStatsType = RepricingRuleReportBuyboxWinningRuleStats::class;
24  protected $buyboxWinningRuleStatsDataType = '';
25  protected $dateType = Date::class;
26  protected $dateDataType = '';
27  /**
28   * @var string[]
29   */
30  public $impactedProducts;
31  protected $inapplicabilityDetailsType = InapplicabilityDetails::class;
32  protected $inapplicabilityDetailsDataType = 'array';
33  /**
34   * @var string[]
35   */
36  public $inapplicableProducts;
37  /**
38   * @var int
39   */
40  public $orderItemCount;
41  /**
42   * @var string
43   */
44  public $ruleId;
45  protected $totalGmvType = PriceAmount::class;
46  protected $totalGmvDataType = '';
47  /**
48   * @var string
49   */
50  public $type;
51
52  /**
53   * @param RepricingRuleReportBuyboxWinningRuleStats
54   */
55  public function setBuyboxWinningRuleStats(RepricingRuleReportBuyboxWinningRuleStats $buyboxWinningRuleStats)
56  {
57    $this->buyboxWinningRuleStats = $buyboxWinningRuleStats;
58  }
59  /**
60   * @return RepricingRuleReportBuyboxWinningRuleStats
61   */
62  public function getBuyboxWinningRuleStats()
63  {
64    return $this->buyboxWinningRuleStats;
65  }
66  /**
67   * @param Date
68   */
69  public function setDate(Date $date)
70  {
71    $this->date = $date;
72  }
73  /**
74   * @return Date
75   */
76  public function getDate()
77  {
78    return $this->date;
79  }
80  /**
81   * @param string[]
82   */
83  public function setImpactedProducts($impactedProducts)
84  {
85    $this->impactedProducts = $impactedProducts;
86  }
87  /**
88   * @return string[]
89   */
90  public function getImpactedProducts()
91  {
92    return $this->impactedProducts;
93  }
94  /**
95   * @param InapplicabilityDetails[]
96   */
97  public function setInapplicabilityDetails($inapplicabilityDetails)
98  {
99    $this->inapplicabilityDetails = $inapplicabilityDetails;
100  }
101  /**
102   * @return InapplicabilityDetails[]
103   */
104  public function getInapplicabilityDetails()
105  {
106    return $this->inapplicabilityDetails;
107  }
108  /**
109   * @param string[]
110   */
111  public function setInapplicableProducts($inapplicableProducts)
112  {
113    $this->inapplicableProducts = $inapplicableProducts;
114  }
115  /**
116   * @return string[]
117   */
118  public function getInapplicableProducts()
119  {
120    return $this->inapplicableProducts;
121  }
122  /**
123   * @param int
124   */
125  public function setOrderItemCount($orderItemCount)
126  {
127    $this->orderItemCount = $orderItemCount;
128  }
129  /**
130   * @return int
131   */
132  public function getOrderItemCount()
133  {
134    return $this->orderItemCount;
135  }
136  /**
137   * @param string
138   */
139  public function setRuleId($ruleId)
140  {
141    $this->ruleId = $ruleId;
142  }
143  /**
144   * @return string
145   */
146  public function getRuleId()
147  {
148    return $this->ruleId;
149  }
150  /**
151   * @param PriceAmount
152   */
153  public function setTotalGmv(PriceAmount $totalGmv)
154  {
155    $this->totalGmv = $totalGmv;
156  }
157  /**
158   * @return PriceAmount
159   */
160  public function getTotalGmv()
161  {
162    return $this->totalGmv;
163  }
164  /**
165   * @param string
166   */
167  public function setType($type)
168  {
169    $this->type = $type;
170  }
171  /**
172   * @return string
173   */
174  public function getType()
175  {
176    return $this->type;
177  }
178}
179
180// Adding a class alias for backwards compatibility with the previous class name.
181class_alias(RepricingRuleReport::class, 'Google_Service_ShoppingContent_RepricingRuleReport');
182