Class: GustoEmbedded::Shared::ContractorPayments

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(bonus: nil, contractor_business_name: nil, contractor_first_name: nil, contractor_last_name: nil, contractor_type: nil, contractor_uuid: nil, payment_method: nil, reimbursement: nil, wage: nil) ⇒ ContractorPayments

Returns a new instance of ContractorPayments.



39
40
41
42
43
44
45
46
47
48
49
# File 'lib/gusto_embedded/models/shared/contractor_payments.rb', line 39

def initialize(bonus: nil, contractor_business_name: nil, contractor_first_name: nil, contractor_last_name: nil, contractor_type: nil, contractor_uuid: nil, payment_method: nil, reimbursement: nil, wage: nil)
  @bonus = bonus
  @contractor_business_name = contractor_business_name
  @contractor_first_name = contractor_first_name
  @contractor_last_name = contractor_last_name
  @contractor_type = contractor_type
  @contractor_uuid = contractor_uuid
  @payment_method = payment_method
  @reimbursement = reimbursement
  @wage = wage
end