Module: FinchAPI::Models::Income::Unit

Extended by:
Internal::Type::Enum
Defined in:
lib/finch_api/models/income.rb,
sig/finch_api/models/income.rbs

Overview

The income unit of payment. Options: yearly, quarterly, monthly, semi_monthly, bi_weekly, weekly, daily, hourly, and fixed.

See Also:

  • FinchAPI::Models::Income#unit

Constant Summary collapse

YEARLY =

Returns:

  • (:yearly)
:yearly
QUARTERLY =

Returns:

  • (:quarterly)
:quarterly
MONTHLY =

Returns:

  • (:monthly)
:monthly
SEMI_MONTHLY =

Returns:

  • (:semi_monthly)
:semi_monthly
BI_WEEKLY =

Returns:

  • (:bi_weekly)
:bi_weekly
WEEKLY =

Returns:

  • (:weekly)
:weekly
DAILY =

Returns:

  • (:daily)
:daily
HOURLY =

Returns:

  • (:hourly)
:hourly
FIXED =

Returns:

  • (:fixed)
:fixed

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/income.rb', line 64

Instance Method Details

#self?.values::Array[FinchAPI::Models::Income::unit]

Returns:

  • (::Array[FinchAPI::Models::Income::unit])


58
# File 'sig/finch_api/models/income.rbs', line 58

def self?.values: -> ::Array[FinchAPI::Models::Income::unit]