Class: GustoEmbedded::Operations::PostV1CompaniesCompanyIdContractorPaymentsRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(contractor_uuid: nil, date: nil, bonus: nil, hours: nil, payment_method: nil, reimbursement: nil, wage: nil) ⇒ PostV1CompaniesCompanyIdContractorPaymentsRequestBody

Returns a new instance of PostV1CompaniesCompanyIdContractorPaymentsRequestBody.



31
32
33
34
35
36
37
38
39
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payments_requestbody.rb', line 31

def initialize(contractor_uuid: nil, date: nil, bonus: nil, hours: nil, payment_method: nil, reimbursement: nil, wage: nil)
  @contractor_uuid = contractor_uuid
  @date = date
  @bonus = bonus
  @hours = hours
  @payment_method = payment_method
  @reimbursement = reimbursement
  @wage = wage
end