E-Wallet channel code as an enum
riskimidiw opened this issue · 1 comments
riskimidiw commented
Hi, I see in this docs that E-Wallet channel code defined as
ID_OVO, ID_DANA, ID_LINKAJA, ID_SHOPEEPAY, ID_SAKUKU, PH_PAYMAYA,PH_GCASH, PH_GRABPAY
Code:
Line 44 in fe95496
Docs: https://developers.xendit.co/api-reference/?bash#create-ewallet-charge
Can we make E-Wallet channel code as an enum? So we can easily compare this value using this library
type EWalletChannelCodeEnum string
const (
EWalletChannelCodeOVO EWalletChannelCodeEnum = "ID_OVO"
...
)
adityarx commented
Closing this as stale, but if you'd like to add this to our library we're happy to approve and release it~