[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\CloudTalentSolution;
|
---|
| 19 |
|
---|
| 20 | class CompensationEntry extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $amountType = Money::class;
|
---|
| 23 | protected $amountDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $description;
|
---|
| 28 | public $expectedUnitsPerYear;
|
---|
| 29 | protected $rangeType = CompensationRange::class;
|
---|
| 30 | protected $rangeDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $type;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $unit;
|
---|
| 39 |
|
---|
| 40 | /**
|
---|
| 41 | * @param Money
|
---|
| 42 | */
|
---|
| 43 | public function setAmount(Money $amount)
|
---|
| 44 | {
|
---|
| 45 | $this->amount = $amount;
|
---|
| 46 | }
|
---|
| 47 | /**
|
---|
| 48 | * @return Money
|
---|
| 49 | */
|
---|
| 50 | public function getAmount()
|
---|
| 51 | {
|
---|
| 52 | return $this->amount;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @param string
|
---|
| 56 | */
|
---|
| 57 | public function setDescription($description)
|
---|
| 58 | {
|
---|
| 59 | $this->description = $description;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return string
|
---|
| 63 | */
|
---|
| 64 | public function getDescription()
|
---|
| 65 | {
|
---|
| 66 | return $this->description;
|
---|
| 67 | }
|
---|
| 68 | public function setExpectedUnitsPerYear($expectedUnitsPerYear)
|
---|
| 69 | {
|
---|
| 70 | $this->expectedUnitsPerYear = $expectedUnitsPerYear;
|
---|
| 71 | }
|
---|
| 72 | public function getExpectedUnitsPerYear()
|
---|
| 73 | {
|
---|
| 74 | return $this->expectedUnitsPerYear;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @param CompensationRange
|
---|
| 78 | */
|
---|
| 79 | public function setRange(CompensationRange $range)
|
---|
| 80 | {
|
---|
| 81 | $this->range = $range;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return CompensationRange
|
---|
| 85 | */
|
---|
| 86 | public function getRange()
|
---|
| 87 | {
|
---|
| 88 | return $this->range;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param string
|
---|
| 92 | */
|
---|
| 93 | public function setType($type)
|
---|
| 94 | {
|
---|
| 95 | $this->type = $type;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string
|
---|
| 99 | */
|
---|
| 100 | public function getType()
|
---|
| 101 | {
|
---|
| 102 | return $this->type;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param string
|
---|
| 106 | */
|
---|
| 107 | public function setUnit($unit)
|
---|
| 108 | {
|
---|
| 109 | $this->unit = $unit;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return string
|
---|
| 113 | */
|
---|
| 114 | public function getUnit()
|
---|
| 115 | {
|
---|
| 116 | return $this->unit;
|
---|
| 117 | }
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 121 | class_alias(CompensationEntry::class, 'Google_Service_CloudTalentSolution_CompensationEntry');
|
---|