Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompensationEntry.
A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.
Annualization: One compensation entry can be annualized if
- it contains valid amount or range .
- and its expected_units_per_year is set or can be derived. Its annualized range is determined as ( amount or range ) times expected_units_per_year .
Generated from protobuf message google.cloud.talent.v4.CompensationInfo.CompensationEntry
Namespace
Google \ Cloud \ Talent \ V4 \ CompensationInfoMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
↳ unit
↳ amount
↳ range
↳ description
string
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
↳ expected_units_per_year
Google\Protobuf\DoubleValue
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit . Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1
getType
Compensation type.
Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED .
setType
Compensation type.
Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED .
$this
getUnit
Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED .
setUnit
Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED .
$this
getAmount
Compensation amount.
hasAmount
setAmount
Compensation amount.
$this
getRange
Compensation range.
hasRange
setRange
Compensation range.
$this
getDescription
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
string
setDescription
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
var
string
$this
getExpectedUnitsPerYear
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit .
Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
hasExpectedUnitsPerYear
clearExpectedUnitsPerYear
getExpectedUnitsPerYearUnwrapped
Returns the unboxed value from getExpectedUnitsPerYear()
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit . Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
float|null
setExpectedUnitsPerYear
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit .
Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
$this
setExpectedUnitsPerYearUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\DoubleValue object.
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit . Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
var
float|null
$this
getCompensationAmount
string

