check

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bill

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"`         // 完成时间
}

type BillCheckApiService

type BillCheckApiService services.Service

func (*BillCheckApiService) BillCheck

func (p *BillCheckApiService) BillCheck(ctx context.Context, req BillCheckRequest) (resp *BillCheckResponse, result *core.APIResult, err error)

func (*BillCheckApiService) DownloadBill

func (p *BillCheckApiService) DownloadBill(ctx context.Context, req BillDownloadRequest) (resp *BillDownloadResponse, result *core.APIResult, err error)

type BillCheckRequest

type BillCheckRequest struct {
	AccountDate  string `json:"accountDate"`            // 对账日期(格式:yyyy-MM-dd)
	BusinessType int8   `json:"businessType,omitempty"` // 1-停车缴费 2-停车会员办理 3-优惠券购买
}

BillCheckRequest 日统计查询请求参数

type BillCheckResponse

type BillCheckResponse struct {
	ChargeNum       int64 `json:"chargeNum"`       // 支付次数
	AmountPaySum    int64 `json:"amountPaySum"`    // 实收金额
	RefundNum       int64 `json:"refundNum"`       // 退款次数
	AmountRefundSum int64 `json:"amountRefundSum"` // 退款金额
}

BillCheckResponse 日统计查询响应参数

type BillDownloadRequest

type BillDownloadRequest struct {
	AccountDate  string `json:"accountDate"`            // 对账日期(格式:yyyy-MM-dd)
	BusinessType int8   `json:"businessType,omitempty"` // 1-停车缴费 2-停车会员办理 3-优惠券购买
}

BillDownloadRequest 账单下载请求参数

type BillDownloadResponse

type BillDownloadResponse struct {
	Bills []Bill `json:"bills"`
}

BillDownloadResponse 账单下载响应参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL