View Source GoogleApi.Jobs.V4.Model.CompensationEntry (google_api_jobs v0.19.0)

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.

Attributes

  • amount (type: GoogleApi.Jobs.V4.Model.Money.t, default: nil) - Compensation amount.
  • description (type: String.t, default: nil) - Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
  • expectedUnitsPerYear (type: float(), default: nil) - 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
  • range (type: GoogleApi.Jobs.V4.Model.CompensationRange.t, default: nil) - Compensation range.
  • type (type: String.t, default: nil) - Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
  • unit (type: String.t, default: nil) - Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Jobs.V4.Model.CompensationEntry{
  amount: GoogleApi.Jobs.V4.Model.Money.t() | nil,
  description: String.t() | nil,
  expectedUnitsPerYear: float() | nil,
  range: GoogleApi.Jobs.V4.Model.CompensationRange.t() | nil,
  type: String.t() | nil,
  unit: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.