request

package
v3.2.27 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestToBankCard

type RequestToBankCard struct {
	Amount         int64  `xml:"amount" json:"amount"`
	BankCode       string `xml:"bank_code" json:"bank_code"`
	Desc           string `xml:"desc" json:"desc"`
	EncBankNO      string `xml:"enc_bank_no" json:"enc_bank_no"`
	EncTrueName    string `xml:"enc_true_name" json:"enc_true_name"`
	MchID          string `xml:"mch_id" json:"mch_id"`
	NonceStr       string `xml:"nonce_str" json:"nonce_str"`
	PartnerTradeNO string `xml:"partner_trade_no" json:"partner_trade_no"`
}

type RequestTransferBatch

type RequestTransferBatch struct {
	AppID              string            `json:"appid"`
	OutBatchNO         string            `json:"out_batch_no"`
	BatchName          string            `json:"batch_name"`
	BatchRemark        string            `json:"batch_remark"`
	TotalAmount        int               `json:"total_amount"`
	TotalNum           int               `json:"total_num"`
	TransferDetailList []*TransferDetail `json:"transfer_detail_list"`
	TransferSceneID    string            `json:"transfer_scene_id,omitempty"`
	NotifyUrl          string            `json:"notify_url,omitempty"`
}

func (*RequestTransferBatch) GetNotifyUrl added in v3.2.9

func (requestTransferBatch *RequestTransferBatch) GetNotifyUrl() string

func (*RequestTransferBatch) SetNotifyUrl added in v3.2.9

func (requestTransferBatch *RequestTransferBatch) SetNotifyUrl(url string)

type RequestTransferToBalance

type RequestTransferToBalance struct {
	MchAppID         string `xml:"mch_appid" json:"mch_appid"`
	MchID            string `xml:"mchid" json:"mchid"`
	DeviceInfo       string `xml:"device_info" json:"device_info"`
	NonceStr         string `xml:"nonce_str" json:"nonce_str"`
	PartnerTradeNo   string `xml:"partner_trade_no" json:"partner_trade_no"`
	OpenID           string `xml:"openid" json:"openid"`
	CheckName        string `xml:"check_name" json:"check_name"`
	ReUserName       string `xml:"re_user_name" json:"re_user_name"`
	Amount           int    `xml:"amount" json:"amount"`
	Desc             string `xml:"desc" json:"desc"`
	SpBillCreateIP   string `xml:"spbill_create_ip" json:"spbill_create_ip"`
	Scene            string `xml:"scene" json:"scene"`
	BrandID          int    `xml:"brand_id" json:"brand_id"`
	FinderTemplateID string `xml:"finder_template_id" json:"finder_template_id"`
}

type TransferDetail

type TransferDetail struct {
	OutDetailNO    string            `json:"out_detail_no"`
	TransferAmount int               `json:"transfer_amount"`
	TransferRemark string            `json:"transfer_remark"`
	OpenID         string            `json:"openid"`
	UserName       object.NullString `json:"user_name"`
}

Jump to

Keyboard shortcuts

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