Class: FinchAPI::Models::HRIS::BenefitCreateParams::CompanyContribution
Defined Under Namespace
Modules: Type
Classes: Tier
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(match:, threshold:) ⇒ Object
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 61
class CompanyContribution < FinchAPI::Internal::Type::BaseModel
required :tiers,
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Tier] }
required :type, enum: -> { FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Type }
class Tier < FinchAPI::Internal::Type::BaseModel
required :match, Integer
required :threshold, Integer
end
module Type
extend FinchAPI::Internal::Type::Enum
MATCH = :match
end
end
|
Instance Attribute Details
65
66
|
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 65
required :tiers,
-> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Tier] }
|
71
|
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 71
required :type, enum: -> { FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Type }
|
Instance Method Details
#to_hash ⇒ {
66
|
# File 'sig/finch_api/models/hris/benefit_create_params.rbs', line 66
def to_hash: -> {
|