Class: GustoEmbedded::Shared::ContractorPayment
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::ContractorPayment
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment.rb
Overview
The representation of a single contractor payment.
Instance Method Summary collapse
-
#initialize(uuid: nil, bonus: nil, contractor_uuid: nil, date: nil, hourly_rate: nil, hours: nil, may_cancel: nil, payment_method: nil, reimbursement: nil, status: nil, wage: nil, wage_total: nil, wage_type: nil) ⇒ ContractorPayment
constructor
A new instance of ContractorPayment.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, bonus: nil, contractor_uuid: nil, date: nil, hourly_rate: nil, hours: nil, may_cancel: nil, payment_method: nil, reimbursement: nil, status: nil, wage: nil, wage_total: nil, wage_type: nil) ⇒ ContractorPayment
Returns a new instance of ContractorPayment.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/gusto_embedded/models/shared/contractor_payment.rb', line 43 def initialize(uuid: nil, bonus: nil, contractor_uuid: nil, date: nil, hourly_rate: nil, hours: nil, may_cancel: nil, payment_method: nil, reimbursement: nil, status: nil, wage: nil, wage_total: nil, wage_type: nil) @uuid = uuid @bonus = bonus @contractor_uuid = contractor_uuid @date = date @hourly_rate = hourly_rate @hours = hours @may_cancel = may_cancel @payment_method = payment_method @reimbursement = reimbursement @status = status @wage = wage @wage_total = wage_total @wage_type = wage_type end |