Class: VitableConnect::Models::Enrollment::Benefit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- VitableConnect::Models::Enrollment::Benefit
- Defined in:
- lib/vitable_connect/models/enrollment.rb,
sig/vitable_connect/models/enrollment.rbs
Overview
Defined Under Namespace
Modules: Category, ProductCode
Instance Attribute Summary collapse
-
#category ⇒ Symbol, VitableConnect::Models::Enrollment::Benefit::Category
Medical- Medical -Dental- Dental -Vision- Vision -Hospital- Hospital.
-
#id ⇒ String
Benefit product ID (bprd_*).
-
#name ⇒ String
Display name of the benefit product.
-
#product_code ⇒ Symbol, VitableConnect::Models::Enrollment::Benefit::ProductCode
EBA- Eba Mec -VPC- Vpc Enhanced -VPC_CORE- Vpc Core -MEC- Vpc Mec -MEC2- Mec2 -MEC_PLUS- Mec Plus -MVP- Mvp -MVP2- Mvp2 -MVPSL- Mvpsl -MVPSL2- Mvpsl2 -VD- Dental -VV- Vision -ICHRA- Ichra -ICHRA_PREMIUM_PLUS- Ichra Premium Plus -ICHRA_REIMBURSEMENT_ONLY- Ichra Reimbursement Only.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, category:, name:, product_code:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Benefit for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, category:, name:, product_code:) ⇒ Object
Some parameter documentations has been truncated, see VitableConnect::Models::Enrollment::Benefit for more details.
Nested benefit product summary
|
|
# File 'lib/vitable_connect/models/enrollment.rb', line 160
|
Instance Attribute Details
#category ⇒ Symbol, VitableConnect::Models::Enrollment::Benefit::Category
Medical- MedicalDental- DentalVision- VisionHospital- Hospital
132 |
# File 'lib/vitable_connect/models/enrollment.rb', line 132 required :category, enum: -> { VitableConnect::Enrollment::Benefit::Category } |
#id ⇒ String
Benefit product ID (bprd_*)
123 |
# File 'lib/vitable_connect/models/enrollment.rb', line 123 required :id, String |
#name ⇒ String
Display name of the benefit product
138 |
# File 'lib/vitable_connect/models/enrollment.rb', line 138 required :name, String |
#product_code ⇒ Symbol, VitableConnect::Models::Enrollment::Benefit::ProductCode
EBA- Eba MecVPC- Vpc EnhancedVPC_CORE- Vpc CoreMEC- Vpc MecMEC2- Mec2MEC_PLUS- Mec PlusMVP- MvpMVP2- Mvp2MVPSL- MvpslMVPSL2- Mvpsl2VD- DentalVV- VisionICHRA- IchraICHRA_PREMIUM_PLUS- Ichra Premium PlusICHRA_REIMBURSEMENT_ONLY- Ichra Reimbursement Only
158 |
# File 'lib/vitable_connect/models/enrollment.rb', line 158 required :product_code, enum: -> { VitableConnect::Enrollment::Benefit::ProductCode } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/vitable_connect/models/enrollment.rb', line 188
|
Instance Method Details
#to_hash ⇒ {
103 |
# File 'sig/vitable_connect/models/enrollment.rbs', line 103
def to_hash: -> {
|