Class: GustoEmbedded::Operations::PostV1CompaniesCompanyUuidContractorsRequestBody

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

Overview

Create an individual or business contractor.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(start_date: nil, type: nil, wage_type: nil, business_name: nil, ein: nil, email: nil, file_new_hire_report: nil, first_name: nil, hourly_rate: nil, is_active: nil, last_name: nil, middle_initial: nil, self_onboarding: nil, ssn: nil, work_state: nil) ⇒ PostV1CompaniesCompanyUuidContractorsRequestBody

Returns a new instance of PostV1CompaniesCompanyUuidContractorsRequestBody.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_uuid_contractors_requestbody.rb', line 59

def initialize(start_date: nil, type: nil, wage_type: nil, business_name: nil, ein: nil, email: nil, file_new_hire_report: nil, first_name: nil, hourly_rate: nil, is_active: nil, last_name: nil, middle_initial: nil, self_onboarding: nil, ssn: nil, work_state: nil)
  @start_date = start_date
  @type = type
  @wage_type = wage_type
  @business_name = business_name
  @ein = ein
  @email = email
  @file_new_hire_report = file_new_hire_report
  @first_name = first_name
  @hourly_rate = hourly_rate
  @is_active = is_active
  @last_name = last_name
  @middle_initial = middle_initial
  @self_onboarding = self_onboarding
  @ssn = ssn
  @work_state = work_state
end