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 18class Google_Service_Dfareporting_Pricing extends Google_Collection 19{ 20 protected $collection_key = 'flights'; 21 public $capCostType; 22 public $endDate; 23 protected $flightsType = 'Google_Service_Dfareporting_Flight'; 24 protected $flightsDataType = 'array'; 25 public $groupType; 26 public $pricingType; 27 public $startDate; 28 29 public function setCapCostType($capCostType) 30 { 31 $this->capCostType = $capCostType; 32 } 33 public function getCapCostType() 34 { 35 return $this->capCostType; 36 } 37 public function setEndDate($endDate) 38 { 39 $this->endDate = $endDate; 40 } 41 public function getEndDate() 42 { 43 return $this->endDate; 44 } 45 /** 46 * @param Google_Service_Dfareporting_Flight[] 47 */ 48 public function setFlights($flights) 49 { 50 $this->flights = $flights; 51 } 52 /** 53 * @return Google_Service_Dfareporting_Flight[] 54 */ 55 public function getFlights() 56 { 57 return $this->flights; 58 } 59 public function setGroupType($groupType) 60 { 61 $this->groupType = $groupType; 62 } 63 public function getGroupType() 64 { 65 return $this->groupType; 66 } 67 public function setPricingType($pricingType) 68 { 69 $this->pricingType = $pricingType; 70 } 71 public function getPricingType() 72 { 73 return $this->pricingType; 74 } 75 public function setStartDate($startDate) 76 { 77 $this->startDate = $startDate; 78 } 79 public function getStartDate() 80 { 81 return $this->startDate; 82 } 83} 84