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