Class: GustoEmbedded::Models::Shared::ContractorPaymentGroupWithBlockers
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorPaymentGroupWithBlockers
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment_group_with_blockers.rb
Overview
Contractor payment group with submission and credit blockers, but without individual contractor payments.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(uuid: nil, company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, creation_token: nil, partner_owned_disbursement: nil) ⇒ ContractorPaymentGroupWithBlockers
constructor
A new instance of ContractorPaymentGroupWithBlockers.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, creation_token: nil, partner_owned_disbursement: nil) ⇒ ContractorPaymentGroupWithBlockers
Returns a new instance of ContractorPaymentGroupWithBlockers.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_with_blockers.rb', line 37 def initialize(uuid: nil, company_uuid: nil, check_date: nil, debit_date: nil, status: nil, submission_blockers: nil, credit_blockers: nil, totals: nil, creation_token: nil, partner_owned_disbursement: nil) @uuid = uuid @company_uuid = company_uuid @check_date = check_date @debit_date = debit_date @status = status @submission_blockers = submission_blockers @credit_blockers = credit_blockers @totals = totals @creation_token = creation_token @partner_owned_disbursement = partner_owned_disbursement end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_with_blockers.rb', line 51 def ==(other) return false unless other.is_a? self.class return false unless @uuid == other.uuid 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 @creation_token == other.creation_token return false unless @partner_owned_disbursement == other.partner_owned_disbursement true end |