Releases: revenuewire/ach-file
File control record block count fix
Return Files Fix
The ReturnEntryAddenda::buildFromString() bug fix.
Handle Reject Files
The new File::buildFromStackedResource()
method will allow users to parse stacked reject files.
The new methods isRejected()
and getRejectCode()
will facilitate processing rejected records.
Reject code descriptions are stored under FileComponent::REJECT_CODES
, which is an array with the codes as integer keys. These are accessible through the subclasses of FileComponent
, including BatchHeaderRecord
, EntryDetailRecord
and BatchControlRecord
,
Allow Alphanumeric Company IDs
This release allows the use of alphanumeric Company Ids in the Batch Header that match the /^[a-zA-Z0-9]{10}$/
regex. The old behaviour only allowed numeric Company Ids that matched the /^\d{10}$/
regex.
There are some minor breaking changes included in this release:
- File and Batch objects no longer have access to the
addComponent()
orgetCollection()
methods. Instead useaddBatch()
/getBatches()
andaddEntryDetailRecord()
/getEntryDetailRecords()
respectively. - The SCCs are not longer available from the FileComponent class, they are now housed correctly in the BatchHeaderRecord class.
Downgrade PHP Requirement
v1.1.0 downgrade the php requirements
Initial Release
v1.0.0 Correct tests and validation