Class: GustoEmbedded::Models::Shared::ContractorPaymentGroupPreview
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorPaymentGroupPreview
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment_group_preview.rb
Overview
Preview of a contractor payment group
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, contractor_payments: nil, uuid: nil, creation_token: nil, partner_owned_disbursement: nil) ⇒ ContractorPaymentGroupPreview
constructor
A new instance of ContractorPaymentGroupPreview.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, contractor_payments: nil, uuid: nil, creation_token: nil, partner_owned_disbursement: nil) ⇒ ContractorPaymentGroupPreview
Returns a new instance of ContractorPaymentGroupPreview.
39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_preview.rb', line 39 def initialize(company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, contractor_payments: nil, uuid: nil, creation_token: nil, partner_owned_disbursement: nil) @company_uuid = company_uuid @check_date = check_date @debit_date = debit_date @status = status @submission_blockers = submission_blockers @credit_blockers = credit_blockers @totals = totals @contractor_payments = contractor_payments @uuid = uuid @creation_token = creation_token @partner_owned_disbursement = partner_owned_disbursement end |
Instance Method Details
#==(other) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_preview.rb', line 54 def ==(other) return false unless other.is_a? self.class return false unless @company_uuid == other.company_uuid return false unless @check_date == other.check_date return false unless @debit_date == other.debit_date return false unless @status == other.status return false unless @submission_blockers == other.submission_blockers return false unless @credit_blockers == other.credit_blockers return false unless @totals == other.totals return false unless @contractor_payments == other.contractor_payments return false unless @uuid == other.uuid return false unless @creation_token == other.creation_token return false unless @partner_owned_disbursement == other.partner_owned_disbursement true end |