Class: GustoEmbedded::Models::Operations::PostCompaniesCompanyUuidSuspensionsRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(file_quarterly_forms:, file_yearly_forms:, reconcile_tax_method:, reason:, comments: nil, leaving_for: nil) ⇒ PostCompaniesCompanyUuidSuspensionsRequestBody

Returns a new instance of PostCompaniesCompanyUuidSuspensionsRequestBody.



37
38
39
40
41
42
43
44
# File 'lib/gusto_embedded/models/operations/post_companies_company_uuid_suspensions_requestbody.rb', line 37

def initialize(file_quarterly_forms:, file_yearly_forms:, reconcile_tax_method:, reason:, comments: nil, leaving_for: nil)
  @file_quarterly_forms = file_quarterly_forms
  @file_yearly_forms = file_yearly_forms
  @reconcile_tax_method = reconcile_tax_method
  @reason = reason
  @comments = comments
  @leaving_for = leaving_for
end

Instance Method Details

#==(other) ⇒ Object



47
48
49
50
51
52
53
54
55
56
# File 'lib/gusto_embedded/models/operations/post_companies_company_uuid_suspensions_requestbody.rb', line 47

def ==(other)
  return false unless other.is_a? self.class
  return false unless @file_quarterly_forms == other.file_quarterly_forms
  return false unless @file_yearly_forms == other.file_yearly_forms
  return false unless @reconcile_tax_method == other.reconcile_tax_method
  return false unless @reason == other.reason
  return false unless @comments == other.comments
  return false unless @leaving_for == other.leaving_for
  true
end