Class: GustoEmbedded::Models::Shared::ContractorPaymentGroupPartnerDisbursements

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/shared/contractor_payment_group_partner_disbursements.rb

Overview

Partner disbursements for a contractor payment group

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(contractor_payment_group_uuid: nil, disbursements: nil) ⇒ ContractorPaymentGroupPartnerDisbursements

Returns a new instance of ContractorPaymentGroupPartnerDisbursements.



21
22
23
24
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_partner_disbursements.rb', line 21

def initialize(contractor_payment_group_uuid: nil, disbursements: nil)
  @contractor_payment_group_uuid = contractor_payment_group_uuid
  @disbursements = disbursements
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
32
# File 'lib/gusto_embedded/models/shared/contractor_payment_group_partner_disbursements.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @contractor_payment_group_uuid == other.contractor_payment_group_uuid
  return false unless @disbursements == other.disbursements
  true
end