CompensationEntryResponse class
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.
Constructors
-
CompensationEntryResponse({required Input<
MoneyResponse> amount, required Input<String> description, required Input<double> expectedUnitsPerYear, required Input<CompensationRangeResponse> range, required Input<String> type, required Input<String> unit}) -
Creates a new CompensationEntryResponse.
amountOptional. Compensation amount.descriptionOptional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.expectedUnitsPerYearOptional. 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: 1rangeOptional. Compensation range.typeOptional. Compensation type. Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.unitOptional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.const -
CompensationEntryResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
amount
→ Input<
MoneyResponse> -
Optional. Compensation amount.
final
-
description
→ Input<
String> -
Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
final
-
expectedUnitsPerYear
→ Input<
double> -
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
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
range
→ Input<
CompensationRangeResponse> -
Optional. Compensation range.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<
String> -
Optional. Compensation type. Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
final
-
unit
→ Input<
String> -
Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited