aboutsummaryrefslogtreecommitdiff
path: root/payment_method_response.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-01-31 19:18:47 +0700
committerShulhan <ms@kilabit.info>2023-01-31 19:22:52 +0700
commit2bf2b28ca70013e74442c464b8e1367bb40a36f1 (patch)
treee7965d1840b005837524701bf903c45d7134f605 /payment_method_response.go
parent31bac8aba1b26f9dd482b0784711b7695f43dbb0 (diff)
downloadduitku-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.go11
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"`
+}