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