response

package
v3.0.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseGetTransferInfo

type ResponseGetTransferInfo struct {
	response.ResponsePayment

	MchID          string `xml:"mch_id"`
	AppID          string `xml:"appid"`
	DetailID       string `xml:"detail_id"`
	PartnerTradeNO string `xml:"partner_trade_no"`
	Status         string `xml:"status"`
	PaymentAmount  string `xml:"payment_amount"`
	OpenID         string `xml:"openid"`
	TransferTime   string `xml:"transfer_time"`
	TransferName   string `xml:"transfer_name"`
	Desc           string `xml:"desc"`
}

type ResponseOutBatchNODetail

type ResponseOutBatchNODetail struct {
	response.ResponsePayment

	OutBatchNO     string    `json:"out_batch_no"`
	BatchID        string    `json:"batch_id"`
	AppID          string    `json:"appid"`
	OutDetailNO    string    `json:"out_detail_no"`
	DetailID       string    `json:"detail_id"`
	DetailStatus   string    `json:"detail_status"`
	TransferAmount int       `json:"transfer_amount"`
	TransferRemark string    `json:"transfer_remark"`
	FailReason     string    `json:"fail_reason"`
	OpenID         string    `json:"openid"`
	UserName       string    `json:"user_name"`
	InitiateTime   time.Time `json:"initiate_time"`
	UpdateTime     time.Time `json:"update_time"`
}

type ResponseTransferToBalance

type ResponseTransferToBalance struct {
	response.ResponsePayment

	MchAppID       string `xml:"mch_appid"`
	MchID          string `xml:"mchid"`
	DeviceInfo     string `xml:"device_info"`
	NonceStr       string `xml:"nonce_str"`
	PartnerTradeNo string `xml:"partner_trade_no"`
	PaymentNo      string `xml:"payment_no"`
	PaymentTime    string `xml:"payment_time"`
}

type ResponseTrasferBatch

type ResponseTrasferBatch struct {
	response.ResponsePayment

	OutBatchNo string    `json:"out_batch_no"`
	BatchId    string    `json:"batch_id"`
	CreateTime time.Time `json:"create_time"`
}

type ResponseTrasferBillReceipt

type ResponseTrasferBillReceipt struct {
	response.ResponsePayment

	OutBatchNO      string    `json:"out_batch_no"`
	SignatureNO     string    `json:"signature_no"`
	SignatureStatus string    `json:"signature_status"`
	HashType        string    `json:"hash_type"`
	HashValue       string    `json:"hash_value"`
	DownloadURL     string    `json:"download_url"`
	CreateTime      time.Time `json:"create_time"`
	UpdateTime      time.Time `json:"update_time"`
}

type ResponseTrasferElectronicReceipts

type ResponseTrasferElectronicReceipts struct {
	AcceptType      string `json:"accept_type"`
	OutBatchNO      string `json:"out_batch_no"`
	OutDetailNO     string `json:"out_detail_no"`
	SignatureNO     string `json:"signature_no"`
	SignatureStatus string `json:"signature_status"`
	HashType        string `json:"hash_type"`
	HashValue       string `json:"hash_value"`
	DownloadURL     string `json:"download_url"`
}

type ResponseTrasferQueryBatch

type ResponseTrasferQueryBatch struct {
	response.ResponsePayment

	TransferBatch      *TransferBatch    `json:"transfer_batch"`
	TransferDetailList []*TransferDetail `json:"transfer_detail_list"`
}

type ResponseTrasferQueryOutBatchNO

type ResponseTrasferQueryOutBatchNO struct {
	response.ResponsePayment

	Limit              int               `json:"limit"`
	Offset             int               `json:"offset"`
	TransferBatch      *TransferBatch    `json:"transfer_batch"`
	TransferDetailList []*TransferDetail `json:"transfer_detail_list"`
}

type TransferBatch

type TransferBatch struct {
	MchID         string    `json:"mchid"`
	OutBatchNO    string    `json:"out_batch_no"`
	BatchID       string    `json:"batch_id"`
	AppID         string    `json:"appid"`
	BatchStatus   string    `json:"batch_status"`
	BatchType     string    `json:"batch_type"`
	BatchName     string    `json:"batch_name"`
	BatchRemark   string    `json:"batch_remark"`
	CloseReason   string    `json:"close_reason"`
	TotalAmount   int       `json:"total_amount"`
	TotalNum      int       `json:"total_num"`
	CreateTime    time.Time `json:"create_time"`
	UpdateTime    time.Time `json:"update_time"`
	SuccessAmount int       `json:"success_amount"`
	SuccessNum    int       `json:"success_num"`
	FailAmount    int       `json:"fail_amount"`
	FailNum       int       `json:"fail_num"`
}

type TransferDetail

type TransferDetail struct {
	DetailID     string `json:"detail_id"`
	OutDetailNO  string `json:"out_detail_no"`
	DetailStatus string `json:"detail_status"`
}

Jump to

Keyboard shortcuts

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