bill

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bill query merchant bill

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bill

type Bill struct {
	// contains filtered or unexported fields
}

Bill merchant accounts bill

func NewBill

func NewBill(cfg *credential.ContextConfig) *Bill

NewBill init

func (*Bill) QueryBill

func (b *Bill) QueryBill(ctx context.Context, req *QueryBillRequest) (resp *QueryBillResponse, err error)

QueryBill query bill

type QueryBillRequest

type QueryBillRequest struct {
	BillDate     string `json:"bill_date" desc:"账单日期,格式为 yyyyMMdd/yyyyMM"`
	MerchantID   string `json:"merchant_id" desc:"商户号"`
	BillType     string `` /* 216-byte string literal not displayed */
	AppID        string `json:"app_id" desc:"应用 ID"`
	ThirdPartyID string `json:"thirdparty_id" desc:"第三方应用 ID"`
	Sign         string `json:"sign" desc:"签名"`
}

QueryBillRequest query bill request

func (QueryBillRequest) ToURLValues

func (b QueryBillRequest) ToURLValues() url.Values

type QueryBillResponse

type QueryBillResponse struct {
	ErrorNo  int    `json:"error_no" desc:"错误码"`
	ErrorMsg string `json:"error_msg" desc:"错误信息"`
}

QueryBillResponse query bill response

Jump to

Keyboard shortcuts

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