Skip to content

benarena/moov-ach-model

Repository files navigation

moov-ach-model

This library provides a model/domain objects for ACH (Automated Clearing House) files based on the Moov ACH API. ACH is the primary method of electronic money movement throughout the United States.

Requirements

Building the API client library requires:

  1. Java 11+
  2. Maven

Dependencies

Then include the dependency in your project pom:

<dependency>
    <groupId>io.github.benarena</groupId>
    <artifactId>moov-ach-model</artifactId>
    <version>1.0.0</version>
</dependency>

Jackson Java 8 Time

Note that this library requires the Jackson Java8 Time Module in order to parse and write dates and times.

In short, be sure to include the following dependency:

<dependency>
    <groupId>com.fasterxml.jackson.datatype</groupId>
    <artifactId>jackson-datatype-jsr310</artifactId>
    <version>${jackson.version}</version>
</dependency>

And register the JavaTimeModule with your ObjectMapper:

ObjectMapper mapper = JsonMapper.builder()
    .addModule(new JavaTimeModule()) // to add just this module
//	.findAndAddModules() // to add all imported modules
    .build();

Documentation for Models

Publishing

History

Automatically generated by the Swagger Codegen from moov/ach 1.9.2 then slimmed down and enhanced to improve data typing, enumerated values, etc.

This can be reproduced by executing the following:

curl --location --request POST 'https://generator3.swagger.io/api/generate' \
--header 'content-type: application/json' \
--data-raw '{
  "specURL" : "https://raw.githubusercontent.com/moov-io/ach/master/openapi.yaml",
  "lang" : "java",
  "type" : "CLIENT",
  "codegenVersion" : "V3"
}'