forked from veritrans/go-midtrans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paysource.go
104 lines (77 loc) · 2.39 KB
/
paysource.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package midtrans
// PaymentType value
type PaymentType string
const (
// SourceBankTransfer : bank_transfer
SourceBankTransfer PaymentType = "bank_transfer"
// SourceBNIVA : bni_va
SourceBNIVA PaymentType = "bni_va"
// SourcePermataVA : permata_va
SourcePermataVA PaymentType = "permata_va"
// SourceBCAVA : bca_va
SourceBCAVA PaymentType = "bca_va"
// SourceOtherVA : other_va
SourceOtherVA PaymentType = "other_va"
// SourceBcaKlikpay : bca_klikpay
SourceBcaKlikpay PaymentType = "bca_klikpay"
// SourceBriEpay : bri_epay
SourceBriEpay PaymentType = "bri_epay"
// PaymentTypeBRIVA : bca_va
SourceBRIVA PaymentType = "bri_va"
// SourceCreditCard : credit_card
SourceCreditCard PaymentType = "credit_card"
// SourceCimbClicks : cimb_clicks
SourceCimbClicks PaymentType = "cimb_clicks"
// SourceDanamonOnline : danamon_online
SourceDanamonOnline PaymentType = "danamon_online"
// SourceConvStore : cstore
SourceConvStore PaymentType = "cstore"
// SourceKlikBca : bca_klikbca
SourceKlikBca PaymentType = "bca_klikbca"
// SourceEchannel : echannel
SourceEchannel PaymentType = "echannel"
// SourceMandiriClickpay : mandiri_clickpay
SourceMandiriClickpay PaymentType = "mandiri_clickpay"
// SourceTelkomselCash : telkomsel_cash
SourceTelkomselCash PaymentType = "telkomsel_cash"
// SourceIndosatDompetku : indosat_dompetku
SourceIndosatDompetku PaymentType = "indosat_dompetku"
// SourceMandiriEcash : mandiri_ecash
SourceMandiriEcash PaymentType = "mandiri_ecash"
// SourceKioson : kioson
SourceKioson PaymentType = "kioson"
// SourceIndomaret : indomaret
SourceIndomaret PaymentType = "indomaret"
// SourceAlfamart : alfamart
SourceAlfamart PaymentType = "alfamart"
// SourceGiftCardIndo : gci
SourceGiftCardIndo PaymentType = "gci"
// SourceGopay : gopay
SourceGopay PaymentType = "gopay"
// SourceShopeePay : shopeepay
SourceShopeePay PaymentType = "shopeepay"
// SourceAkulaku : akulaku
SourceAkulaku PaymentType = "akulaku"
)
// AllPaymentSource : Get All available PaymentType
var AllPaymentSource = []PaymentType{
SourceGopay,
SourceCreditCard,
SourceMandiriClickpay,
SourceCimbClicks,
SourceDanamonOnline,
SourceKlikBca,
SourceBcaKlikpay,
SourceBriEpay,
SourceTelkomselCash,
SourceEchannel,
SourceIndosatDompetku,
SourceMandiriEcash,
SourceBNIVA,
SourcePermataVA,
SourceBCAVA,
SourceIndomaret,
SourceKioson,
SourceGiftCardIndo,
SourceShopeePay,
}