Files
servicebase/pkg/dto/refund/refund_dto.go
2025-11-19 14:24:13 +08:00

27 lines
752 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package refund
import "time"
type RefundDTO[T any] struct {
TransactionId string // 支付交易号
OutTransactionId string // 支付订单号
RefundId string
OutRefundId string
RefundDetail T
ChannelCode string
}
type AliRefundDTO struct {
BuyerLogonId string // 用户的登录id
BuyerUserId string // 买家在支付宝的用户id
RefundFee string // 退款总金额
FundChange string // 接口返回fund_change=Y为退款成功fund_change=N或无此字段值返回时需通过退款查询接口进一步确认退款状态
SuccessTime time.Time // 退款支付时间
}
type WxRefundDTO struct {
UserReceivedAccount string
SuccessTime time.Time
CreateTime time.Time
}