Class: GustoEmbedded::Shared::ApplicableEarnings

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/shared/applicable_earnings.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(category: nil, earning_id: nil, earning_type: nil, input_type: nil, name: nil) ⇒ ApplicableEarnings

Returns a new instance of ApplicableEarnings.



27
28
29
30
31
32
33
# File 'lib/gusto_embedded/models/shared/applicable_earnings.rb', line 27

def initialize(category: nil, earning_id: nil, earning_type: nil, input_type: nil, name: nil)
  @category = category
  @earning_id = earning_id
  @earning_type = earning_type
  @input_type = input_type
  @name = name
end