Class: GustoEmbedded::Models::Shared::EmployeeSection603HighEarnerStatusUpdateRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/shared/employee_section603_high_earner_status_update_request.rb

Overview

Request body for updating an employee’s Section 603 high earner status

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(is_high_earner:) ⇒ EmployeeSection603HighEarnerStatusUpdateRequest

Returns a new instance of EmployeeSection603HighEarnerStatusUpdateRequest.



19
20
21
# File 'lib/gusto_embedded/models/shared/employee_section603_high_earner_status_update_request.rb', line 19

def initialize(is_high_earner:)
  @is_high_earner = is_high_earner
end

Instance Method Details

#==(other) ⇒ Object



24
25
26
27
28
# File 'lib/gusto_embedded/models/shared/employee_section603_high_earner_status_update_request.rb', line 24

def ==(other)
  return false unless other.is_a? self.class
  return false unless @is_high_earner == other.is_high_earner
  true
end