sesamy-go/event/refund.go
2024-05-14 15:37:46 +02:00

13 lines
269 B
Go

package event
import (
"github.com/foomo/sesamy-go"
"github.com/foomo/sesamy-go/event/params"
)
type Refund sesamy.Event[params.Refund[params.Item]]
func NewRefund(p params.Refund[params.Item]) Refund {
return Refund(sesamy.NewEvent(sesamy.EventNameRefund, p))
}