Class: Moov::Models::Components::AchParticipant
- Inherits:
-
Object
- Object
- Moov::Models::Components::AchParticipant
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/achparticipant.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(ach_location:, customer_name:, new_routing_number:, office_code:, phone_number:, record_type_code:, revised:, routing_number:, servicing_frb_number:, status_code:, view_code:, clean_name:, logo: nil) ⇒ AchParticipant
constructor
A new instance of AchParticipant.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(ach_location:, customer_name:, new_routing_number:, office_code:, phone_number:, record_type_code:, revised:, routing_number:, servicing_frb_number:, status_code:, view_code:, clean_name:, logo: nil) ⇒ AchParticipant
Returns a new instance of AchParticipant.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/moov/models/components/achparticipant.rb', line 44 def initialize(ach_location:, customer_name:, new_routing_number:, office_code:, phone_number:, record_type_code:, revised:, routing_number:, servicing_frb_number:, status_code:, view_code:, clean_name:, logo: nil) @ach_location = ach_location @customer_name = customer_name @new_routing_number = new_routing_number @office_code = office_code @phone_number = phone_number @record_type_code = record_type_code @revised = revised @routing_number = routing_number @servicing_frb_number = servicing_frb_number @status_code = status_code @view_code = view_code @clean_name = clean_name @logo = logo end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/moov/models/components/achparticipant.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @ach_location == other.ach_location return false unless @customer_name == other.customer_name return false unless @new_routing_number == other.new_routing_number return false unless @office_code == other.office_code return false unless @phone_number == other.phone_number return false unless @record_type_code == other.record_type_code return false unless @revised == other.revised return false unless @routing_number == other.routing_number return false unless @servicing_frb_number == other.servicing_frb_number return false unless @status_code == other.status_code return false unless @view_code == other.view_code return false unless @clean_name == other.clean_name return false unless @logo == other.logo true end |