Humaans.Resources.CompensationType (Humaans v0.4.0)

View Source

Representation of a Compensation Type resource.

Summary

Types

base_type()

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

t()

@type t() :: %Humaans.Resources.CompensationType{
  base_type: base_type(),
  company_id: binary(),
  created_at: binary(),
  id: binary(),
  name: binary() | nil,
  updated_at: binary()
}

Functions

new(map_or_kwlist, opts \\ [])

@spec new(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.CompensationType{
    base_type: term(),
    company_id: term(),
    created_at: term(),
    id: term(),
    name: term(),
    updated_at: term()
  }