4 Star 0 Fork 0

浙江好多物联技术有限公司 / paysdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
models.go 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
package check
// BillCheckRequest 日统计查询请求参数
type BillCheckRequest struct {
AccountDate string `json:"accountDate"` // 对账日期(格式:yyyy-MM-dd)
BusinessType int8 `json:"businessType,omitempty"` // 1-停车缴费 2-停车会员办理 3-优惠券购买
}
// BillCheckResponse 日统计查询响应参数
type BillCheckResponse struct {
ChargeNum int64 `json:"chargeNum"` // 支付次数
AmountPaySum int64 `json:"amountPaySum"` // 实收金额
RefundNum int64 `json:"refundNum"` // 退款次数
AmountRefundSum int64 `json:"amountRefundSum"` // 退款金额
}
// BillDownloadRequest 账单下载请求参数
type BillDownloadRequest struct {
AccountDate string `json:"accountDate"` // 对账日期(格式:yyyy-MM-dd)
BusinessType int8 `json:"businessType,omitempty"` // 1-停车缴费 2-停车会员办理 3-优惠券购买
}
// BillDownloadResponse 账单下载响应参数
type BillDownloadResponse struct {
Bills []Bill `json:"bills"`
}
type Bill struct {
OrderId string `json:"orderId"` // 商户订单号
PayId string `json:"payId"` // 支付订单号
AmountPay int32 `json:"amountPay"` // 订单金额
PayMethod int8 `json:"payMethod"` // 支付方式
PayScene int8 `json:"payScene"` // 支付场景
PayChannel int8 `json:"payChannel"` // 支付渠道
BusinessType int8 `json:"businessType"` // 业务类型
BusinessRemarks string `json:"businessRemarks"` // 业务详情
PayStatus int8 `json:"payStatus"` // 支付状态
CreateTime string `json:"createTime"` // 创建时间
EndTime string `json:"endTime"` // 完成时间
}
Go
1
https://gitee.com/hdwl_3/paysdk.git
git@gitee.com:hdwl_3/paysdk.git
hdwl_3
paysdk
paysdk
v0.1.6

搜索帮助