diff options
| author | Shulhan <ms@kilabit.info> | 2023-01-31 19:18:47 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-01-31 19:22:52 +0700 |
| commit | 2bf2b28ca70013e74442c464b8e1367bb40a36f1 (patch) | |
| tree | e7965d1840b005837524701bf903c45d7134f605 /payment_method_response.go | |
| parent | 31bac8aba1b26f9dd482b0784711b7695f43dbb0 (diff) | |
| download | duitku-2bf2b28ca70013e74442c464b8e1367bb40a36f1.tar.xz | |
all: implement API to get active payment method for merchant
The MerchantPaymentMethod method return list of payment methods enabled
by merchant (your project).
Diffstat (limited to 'payment_method_response.go')
| -rw-r--r-- | payment_method_response.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/payment_method_response.go b/payment_method_response.go new file mode 100644 index 0000000..4d901d8 --- /dev/null +++ b/payment_method_response.go @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info> +// SPDX-License-Identifier: GPL-3.0-or-later + +package duitku + +// PaymentMethodResponse contains list of payments enabled by merchant. +type PaymentMethodResponse struct { + Response + + PaymentFee []PaymentFee `json:"paymentFee"` +} |
