Class: GustoEmbedded::Shared::RecoveryCase

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

Overview

Representation of a recovery case

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, amount_outstanding: nil, check_date: nil, company_uuid: nil, contractor_payment_uuids: nil, event_total_amount: nil, latest_error_code: nil, original_debit_date: nil, payroll_uuid: nil, status: nil) ⇒ RecoveryCase

Returns a new instance of RecoveryCase.



37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/gusto_embedded/models/shared/recovery_case.rb', line 37

def initialize(uuid: nil, amount_outstanding: nil, check_date: nil, company_uuid: nil, contractor_payment_uuids: nil, event_total_amount: nil, latest_error_code: nil, original_debit_date: nil, payroll_uuid: nil, status: nil)
  @uuid = uuid
  @amount_outstanding = amount_outstanding
  @check_date = check_date
  @company_uuid = company_uuid
  @contractor_payment_uuids = contractor_payment_uuids
  @event_total_amount = event_total_amount
  @latest_error_code = latest_error_code
  @original_debit_date = original_debit_date
  @payroll_uuid = payroll_uuid
  @status = status
end