Class: Moov::Models::Components::CreateTransferDestinationACH

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/components/createtransferdestinationach.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, addenda: nil) ⇒ CreateTransferDestinationACH

Returns a new instance of CreateTransferDestinationACH.



23
24
25
26
27
# File 'lib/moov/models/components/createtransferdestinationach.rb', line 23

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

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/moov/models/components/createtransferdestinationach.rb', line 30

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
  return false unless @addenda == other.addenda
  true
end