Git Product home page Git Product logo

ach-parser's Introduction

Class Definitions:

  1. ACHFile: Handles parsing of the entire ACH file.
  2. Batch: Handles parsing of each batch within the file.
  3. Record: Base class for various types of records (File Header, Batch Header, Entry Detail, Addenda, Batch Control, File Control).

Method Definitions:

  • parse_file(): Method inside ACHFile to initiate parsing.
  • parse_batch(): Method inside Batch to parse a single batch.
  • Various parse_record_xxx() methods to parse individual record types.

Process:

  1. Read the ACH file line by line.
  2. For each line, identify the type of record and pass it to the appropriate parser.
  3. Each parser extracts the relevant fields and stores them in an object.
  4. Objects are collected in the appropriate parent object (batches in file, records in batches).

Does this sound good as a starting point?

Next steps could be to define the classes and their initial methods. Would you like to start by providing the fields per line and their character values? Then we can dive into the actual code.

ach-parser's People

Contributors

silver911r avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.