Class: GustoEmbedded::Operations::ContractorPayments

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/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) ⇒ ContractorPayments

Returns a new instance of ContractorPayments.



29
30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/operations/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