Class: GustoEmbedded::Shared::ContractorPaymentReceipt

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

Overview

Example response

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company_uuid: nil, contractor_payment_uuid: nil, contractor_payments: nil, debit_date: nil, liability_of_licensee: nil, license: nil, license_uri: nil, licensee: nil, name_of_recipient: nil, name_of_sender: nil, right_to_refund: nil, totals: nil) ⇒ ContractorPaymentReceipt

Returns a new instance of ContractorPaymentReceipt.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/gusto_embedded/models/shared/contractor_payment_receipt.rb', line 41

def initialize(company_uuid: nil, contractor_payment_uuid: nil, contractor_payments: nil, debit_date: nil, liability_of_licensee: nil, license: nil, license_uri: nil, licensee: nil, name_of_recipient: nil, name_of_sender: nil, right_to_refund: nil, totals: nil)
  @company_uuid = company_uuid
  @contractor_payment_uuid = contractor_payment_uuid
  @contractor_payments = contractor_payments
  @debit_date = debit_date
  @liability_of_licensee = liability_of_licensee
  @license = license
  @license_uri = license_uri
  @licensee = licensee
  @name_of_recipient = name_of_recipient
  @name_of_sender = name_of_sender
  @right_to_refund = right_to_refund
  @totals = totals
end