Humaans.Resources.Compensation (Humaans v0.4.0)

View Source

Representation of a Compensation resource.

Summary

Types

base_type()

@type base_type() :: :salary | :bonus | :commission | :equity | :custom

t()

@type t() :: %Humaans.Resources.Compensation{
  amount: binary(),
  compensation_type_id: binary(),
  created_at: binary(),
  currency: binary(),
  effective_date: binary(),
  end_date: binary(),
  end_reason: binary(),
  id: binary(),
  note: binary(),
  period: binary(),
  person_id: binary(),
  updated_at: binary()
}

Functions

new(map_or_kwlist, opts \\ [])

@spec new(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.Compensation{
    amount: term(),
    compensation_type_id: term(),
    created_at: term(),
    currency: term(),
    effective_date: term(),
    end_date: term(),
    end_reason: term(),
    id: term(),
    note: term(),
    period: term(),
    person_id: term(),
    updated_at: term()
  }