// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================

package service

import (
	"context"
)

type (
	IPayType interface {
		GetPayTypeNameByCode(ctx context.Context, code string) string
	}
)

var (
	localPayType IPayType
)

func PayType() IPayType {
	if localPayType == nil {
		panic("implement not found for interface IPayType, forgot register?")
	}
	return localPayType
}

func RegisterPayType(i IPayType) {
	localPayType = i
}
