diff options
| author | Shulhan <ms@kilabit.info> | 2022-10-19 18:44:47 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-10-19 18:54:29 +0700 |
| commit | bc1c453eb8a3c8b5bac406c5c4f09af06034247c (patch) | |
| tree | 57588c03d7e9b7a935f678e80700a43b158f4394 /bank.go | |
| download | duitku-bc1c453eb8a3c8b5bac406c5c4f09af06034247c.tar.xz | |
duitku: library and HTTP client for duitku.com
Currently, the client provide API for fetching list of banks for
disbursement.
See https://docs.duitku.com/ for reference.
Diffstat (limited to 'bank.go')
| -rw-r--r-- | bank.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +// SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info> +// SPDX-License-Identifier: GPL-3.0-or-later + +package duitku + +import ( + "github.com/shuLhan/share/lib/math/big" +) + +type Bank struct { + Code string `json:"bankCode"` + Name string `json:"bankName"` + MaxTransfer *big.Rat `json:"maxAmountTransfer"` +} |
