Class: GustoEmbedded::Shared::Termination

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

Overview

The representation of a termination in Gusto.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, active: nil, cancelable: nil, effective_date: nil, employee_uuid: nil, run_termination_payroll: nil, version: nil) ⇒ Termination

Returns a new instance of Termination.



31
32
33
34
35
36
37
38
39
# File 'lib/gusto_embedded/models/shared/termination.rb', line 31

def initialize(uuid: nil, active: nil, cancelable: nil, effective_date: nil, employee_uuid: nil, run_termination_payroll: nil, version: nil)
  @uuid = uuid
  @active = active
  @cancelable = cancelable
  @effective_date = effective_date
  @employee_uuid = employee_uuid
  @run_termination_payroll = run_termination_payroll
  @version = version
end