methodtopup

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 1 Imported by: 1

README ¶

📦 Package methodtopup

Source Path: ./pkg/method_topup

🚀 Functions

PaymentMethodValidator

PaymentMethodValidator will validate the payment method string with list of known payment methods.

It will check if the given paymentMethod is in the list of known payment methods. If the payment method is in the list, it will return true, otherwise it will return false.

func PaymentMethodValidator(paymentMethod string) bool

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func PaymentMethodValidator ¶

func PaymentMethodValidator(paymentMethod string) bool

PaymentMethodValidator will validate the payment method string with list of known payment methods.

It will check if the given paymentMethod is in the list of known payment methods. If the payment method is in the list, it will return true, otherwise it will return false.

Types ¶

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL