Class: GustoEmbedded::Shared::ContractorPaymentGroup

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

Overview

The full contractor payment group, including associated contractor payments.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(check_date: nil, company_uuid: nil, contractor_payments: nil, creation_token: nil, debit_date: nil, status: nil, totals: nil, uuid: nil) ⇒ ContractorPaymentGroup

Returns a new instance of ContractorPaymentGroup.



33
34
35
36
37
38
39
40
41
42
# File 'lib/gusto_embedded/models/shared/contractor_payment_group.rb', line 33

def initialize(check_date: nil, company_uuid: nil, contractor_payments: nil, creation_token: nil, debit_date: nil, status: nil, totals: nil, uuid: nil)
  @check_date = check_date
  @company_uuid = company_uuid
  @contractor_payments = contractor_payments
  @creation_token = creation_token
  @debit_date = debit_date
  @status = status
  @totals = totals
  @uuid = uuid
end