Class: GustoEmbedded::Models::Shared::EmployeesAnnualFicaWageReportAcceptance

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

Overview

Acceptance acknowledgement for an asynchronous employees annual FICA wage report. Returned with HTTP 202; poll the report status endpoint using ‘request_uuid`.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(request_uuid:, company_uuid:, start_year:, end_year:) ⇒ EmployeesAnnualFicaWageReportAcceptance

Returns a new instance of EmployeesAnnualFicaWageReportAcceptance.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/shared/employees_annual_fica_wage_report_acceptance.rb', line 25

def initialize(request_uuid:, company_uuid:, start_year:, end_year:)
  @request_uuid = request_uuid
  @company_uuid = company_uuid
  @start_year = start_year
  @end_year = end_year
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/gusto_embedded/models/shared/employees_annual_fica_wage_report_acceptance.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @request_uuid == other.request_uuid
  return false unless @company_uuid == other.company_uuid
  return false unless @start_year == other.start_year
  return false unless @end_year == other.end_year
  true
end