Class: GustoEmbedded::Shared::Company

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

Overview

The representation of a company 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, company_status: nil, compensations: nil, contractor_only: nil, ein: nil, entity_type: nil, funding_type: nil, is_partner_managed: nil, is_suspended: nil, join_date: nil, locations: nil, name: nil, pay_schedule_type: nil, primary_payroll_admin: nil, primary_signatory: nil, slug: nil, tier: nil, trade_name: nil) ⇒ Company

Returns a new instance of Company.



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/gusto_embedded/models/shared/company.rb', line 53

def initialize(uuid: nil, company_status: nil, compensations: nil, contractor_only: nil, ein: nil, entity_type: nil, funding_type: nil, is_partner_managed: nil, is_suspended: nil, join_date: nil, locations: nil, name: nil, pay_schedule_type: nil, primary_payroll_admin: nil, primary_signatory: nil, slug: nil, tier: nil, trade_name: nil)
  @uuid = uuid
  @company_status = company_status
  @compensations = compensations
  @contractor_only = contractor_only
  @ein = ein
  @entity_type = entity_type
  @funding_type = funding_type
  @is_partner_managed = is_partner_managed
  @is_suspended = is_suspended
  @join_date = join_date
  @locations = locations
  @name = name
  @pay_schedule_type = pay_schedule_type
  @primary_payroll_admin = primary_payroll_admin
  @primary_signatory = primary_signatory
  @slug = slug
  @tier = tier
  @trade_name = trade_name
end