batches

package
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBatchController

func NewBatchController(logger log.Logger, service BatchService) *batchController

func NewBatchService

func NewBatchService(repository BatchRepository) *batchService

func NewFTPRepository

func NewFTPRepository(cfg *service.FTPConfig) *batchRepository

Types

type BatchRepository

type BatchRepository interface {
	Search(ctx context.Context, opts SearchOptions) ([]ach.Batcher, error)
}

type BatchService

type BatchService interface {
	Search(ctx context.Context, ops SearchOptions) ([]ach.Batcher, error)
}

type SearchOptions

type SearchOptions struct {
	AccountNumber string
	Amount        int
	RoutingNumber string
	TraceNumber   string
	CreatedAfter  string
	Path          string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL