Class: GustoEmbedded::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewContractorPayments

Inherits:
Crystalline::FieldAugmented
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payment_groups_preview_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_uuid: nil, hours: nil, payment_method: nil, reimbursement: nil, wage: nil) ⇒ PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewContractorPayments

Returns a new instance of PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewContractorPayments.



29
30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payment_groups_preview_contractor_payments.rb', line 29

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