Class: MergeHRISClient::BenefitPlanTypeEnum

Inherits:
Object
  • Object
show all
Defined in:
lib/merge_hris_client/models/benefit_plan_type_enum.rb

Constant Summary collapse

MEDICAL =
"MEDICAL".freeze
DENTAL =
"DENTAL".freeze
VISION =
"VISION".freeze
HSA =
"HSA".freeze
FSA_MEDICAL =
"FSA_MEDICAL".freeze
FSA_DEPENDENT_CARE =
"FSA_DEPENDENT_CARE".freeze
SIMPLE_IRA =
"SIMPLE_IRA".freeze
N401_K =
"_401K".freeze
ROTH_401_K =
"ROTH_401K".freeze
OTHER_NON_TAXABLE =
"OTHER_NON_TAXABLE".freeze
COMMUTER_TRANSIT =
"COMMUTER_TRANSIT".freeze
COMMUTER_PARKING =
"COMMUTER_PARKING".freeze
N401_K_LOAN_PAYMENT =
"_401K_LOAN_PAYMENT".freeze
SHORT_DISABILITY =
"SHORT_DISABILITY".freeze
LONG_DISABILITY =
"LONG_DISABILITY".freeze
LIFE =
"LIFE".freeze
SEP_IRA =
"SEP_IRA".freeze
SARSEP =
"SARSEP".freeze
CUSTOM_TAXABLE =
"CUSTOM_TAXABLE".freeze
N403_B =
"_403B".freeze
ROTH_403_B =
"ROTH_403B".freeze
STUDENT_LOAN =
"STUDENT_LOAN".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



44
45
46
# File 'lib/merge_hris_client/models/benefit_plan_type_enum.rb', line 44

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



51
52
53
54
# File 'lib/merge_hris_client/models/benefit_plan_type_enum.rb', line 51

def build_from_hash(value)
  constantValues = BenefitPlanTypeEnum.constants.select { |c| BenefitPlanTypeEnum::const_get(c) == value }
  value
end