class Google::Apis::JobsV3::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.

Attributes

amount[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `amount` @return [Google::Apis::JobsV3::Money]

description[RW]

Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus. Corresponds to the JSON property `description` @return [String]

expected_units_per_year[RW]

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 Corresponds to the JSON property `expectedUnitsPerYear` @return [Float]

range[RW]

Compensation range. Corresponds to the JSON property `range` @return [Google::Apis::JobsV3::CompensationRange]

type[RW]

Optional. Compensation type. Default is CompensationUnit. COMPENSATION_TYPE_UNSPECIFIED. Corresponds to the JSON property `type` @return [String]

unit[RW]

Optional. Frequency of the specified amount. Default is CompensationUnit. COMPENSATION_UNIT_UNSPECIFIED. Corresponds to the JSON property `unit` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3/classes.rb, line 471
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v3/classes.rb, line 476
def update!(**args)
  @amount = args[:amount] if args.key?(:amount)
  @description = args[:description] if args.key?(:description)
  @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
  @range = args[:range] if args.key?(:range)
  @type = args[:type] if args.key?(:type)
  @unit = args[:unit] if args.key?(:unit)
end