GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoCompensationEntry (google_api_jobs v0.21.0)

View Source

Deprecated. See CompensationInfo.

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.V2.Model.ExtendedCompensationInfoDecimal.t, default: nil) - Optional. Monetary amount.

  • description (type: String.t, default: nil) - Optional. Compensation description.

  • expectedUnitsPerYear (type: GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoDecimal.t, default: nil) - Optional. 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.V2.Model.ExtendedCompensationInfoCompensationRange.t, default: nil) - Optional. Compensation range.

  • type (type: String.t, default: nil) - Required. Compensation type.

  • unit (type: String.t, default: nil) - Optional. Frequency of the specified amount.

    Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.

  • unspecified (type: boolean(), default: nil) - Optional. Indicates compensation amount and range are unset.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoCompensationEntry{
  amount: GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoDecimal.t(),
  description: String.t(),
  expectedUnitsPerYear:
    GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoDecimal.t(),
  range: GoogleApi.Jobs.V2.Model.ExtendedCompensationInfoCompensationRange.t(),
  type: String.t(),
  unit: String.t(),
  unspecified: boolean()
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.