Files
woogo/entity/payment_gateway.go

26 lines
1.0 KiB
Go
Raw Permalink Normal View History

2025-04-08 19:24:11 +02:00
package entity
// PaymentGateway payment gateway properties
type PaymentGateway struct {
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
Order int `json:"order"`
Enabled bool `json:"enabled"`
MethodTitle string `json:"method_title"`
MethodDescription string `json:"method_description"`
MethodSupports []string `json:"method_supports"`
Settings map[string]PaymentGatewaySetting `json:"settings"`
}
type PaymentGatewaySetting struct {
ID string `json:"id"`
Label string `json:"label"`
Description string `json:"description"`
Type string `json:"type"`
Value string `json:"value"`
Default string `json:"default"`
Tip string `json:"tip"`
Placeholder string `json:"placeholder"`
}