Class: GustoEmbedded::Shared::Contractor
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Contractor
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/contractor.rb
Overview
The representation of a contractor (individual or business) 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, address: nil, business_name: nil, company_uuid: nil, department_uuid: nil, ein: nil, email: nil, file_new_hire_report: nil, first_name: nil, has_ein: nil, has_ssn: nil, hourly_rate: nil, is_active: nil, last_name: nil, middle_initial: nil, onboarded: nil, onboarding_status: nil, payment_method: nil, start_date: nil, type: nil, version: nil, wage_type: nil, work_state: nil) ⇒ Contractor
Returns a new instance of Contractor.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/gusto_embedded/models/shared/contractor.rb', line 64 def initialize(uuid: nil, address: nil, business_name: nil, company_uuid: nil, department_uuid: nil, ein: nil, email: nil, file_new_hire_report: nil, first_name: nil, has_ein: nil, has_ssn: nil, hourly_rate: nil, is_active: nil, last_name: nil, middle_initial: nil, onboarded: nil, onboarding_status: nil, payment_method: nil, start_date: nil, type: nil, version: nil, wage_type: nil, work_state: nil) @uuid = uuid @address = address @business_name = business_name @company_uuid = company_uuid @department_uuid = department_uuid @ein = ein @email = email @file_new_hire_report = file_new_hire_report @first_name = first_name @has_ein = has_ein @has_ssn = has_ssn @hourly_rate = hourly_rate @is_active = is_active @last_name = last_name @middle_initial = middle_initial @onboarded = onboarded @onboarding_status = onboarding_status @payment_method = payment_method @start_date = start_date @type = type @version = version @wage_type = wage_type @work_state = work_state end |