Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

transfers/limiter: support multiple Checkers chained together #578

Open
adamdecaf opened this issue Sep 28, 2020 · 0 comments
Open

transfers/limiter: support multiple Checkers chained together #578

adamdecaf opened this issue Sep 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@adamdecaf
Copy link
Member

PayGate Version: v0.9.0-dev

What were you trying to do?
We need to support multiple limiter.Checker chained together. This allows for several overrides that can look for different criteria to reject a transfer for.

Think about taking an []limiter.Checker instances and rejecting if any individual Checker errors on the Transfer.

What did you expect to see?
Multiple rules allow for a transfer to be rejected, for example limits for same-day vs regular ACH.

@adamdecaf adamdecaf added the enhancement New feature or request label Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant