Google Cloud Talent Solution V4 Client - Class CompensationEntry (2.1.3)

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

Generated from protobuf message google.cloud.talent.v4.CompensationInfo.CompensationEntry

Namespace

Google \ Cloud \ Talent \ V4 \ CompensationInfo

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type
int

Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED .

↳ unit
int

Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED .

↳ amount
Google\Type\Money

Compensation amount.

↳ range
CompensationRange

Compensation 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 .

Returns
Type
Description
int
Enum of type CompensationType .

setType

Compensation type.

Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED .

Parameter
Name
Description
var
int

Enum of type CompensationType .

Returns
Type
Description
$this

getUnit

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED .

Returns
Type
Description
int
Enum of type CompensationUnit .

setUnit

Frequency of the specified amount.

Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED .

Parameter
Name
Description
var
int

Enum of type CompensationUnit .

Returns
Type
Description
$this

getAmount

Compensation amount.

Returns
Type
Description

hasAmount

setAmount

Compensation amount.

Parameter
Name
Description
Returns
Type
Description
$this

getRange

Compensation range.

Returns
Type
Description

hasRange

setRange

Compensation range.

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

Returns
Type
Description
string

setDescription

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

Parameter
Name
Description
var
string
Returns
Type
Description
$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
Returns
Type
Description

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
Returns
Type
Description
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
Parameter
Name
Description
Returns
Type
Description
$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
Parameter
Name
Description
var
float|null
Returns
Type
Description
$this

getCompensationAmount

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: