Class: Moov::Models::Components::AchDetails

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/components/achdetails.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company_entry_description: nil, originating_company_name: nil) ⇒ AchDetails

Returns a new instance of AchDetails.



22
23
24
25
# File 'lib/moov/models/components/achdetails.rb', line 22

def initialize(company_entry_description: nil, originating_company_name: nil)
  @company_entry_description = company_entry_description
  @originating_company_name = originating_company_name
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/moov/models/components/achdetails.rb', line 28

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