Files
2026-02-04 20:27:13 +08:00

14 lines
391 B
Go

// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package payments
import (
"github.com/TeaOSLab/EdgeAPI/internal/db/models/accounts"
"net/url"
)
type Payment interface {
GeneratePayURL(order *accounts.UserOrder, method *accounts.OrderMethod) (url string, err error)
Verify(formValues url.Values) (orderId int64, err error)
}