MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / PayMethods2JsonString

Function PayMethods2JsonString

setting/payment.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func PayMethods2JsonString() string {
32 jsonBytes, err := json.Marshal(PayMethods)
33 if err != nil {
34 return "[]"
35 }
36 return string(jsonBytes)
37}
38
39func ContainsPayMethod(method string) bool {
40 for _, payMethod := range PayMethods {

Callers 1

InitOptionMapFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected