mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Allow override of minimum polling time in e2e tests * Test fetch workflows in generic connector using end to end tests against a mock server * Check paging filter parameters in testpsp * Ignore test psp code coverage * Add tests to check payouts and transfers * Address coderabbit comments * Update connector template files * Reduce number of eventually blocks in generic connector e2e tests
16 lines
556 B
Plaintext
16 lines
556 B
Plaintext
package {{ .Connector }}
|
|
|
|
import "github.com/formancehq/go-libs/v5/pkg/types/currency"
|
|
|
|
var (
|
|
// TODO: the next line tells that the connector is supporting all currencies.
|
|
// If you only want to support specific currencies, you will have to remove
|
|
// this line and set the map yourselves
|
|
// Example:
|
|
// supportedCurrenciesWithDecimal = map[string]int{
|
|
// "EUR": currency.ISO4217Currencies["EUR"], // Euro
|
|
// "DKK": currency.ISO4217Currencies["DKK"],
|
|
// }
|
|
supportedCurrenciesWithDecimal = currency.ISO4217Currencies
|
|
)
|