request

package
v3.0.57 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

type Receiver struct {
	Type        string    `json:"type"`
	Account     string    `json:"account"`
	Name        string    `json:"name,omitempty"`
	Amount      int64     `json:"amount,omitempty"`
	Description string    `json:"description,omitempty"`
	Result      string    `json:"result,omitempty"`
	FailReason  string    `json:"fail_reason,omitempty"`
	DetailId    string    `json:"detail_id,omitempty"`
	CreateTime  time.Time `json:"create_time,omitempty"`
	FinishTime  time.Time `json:"finish_time,omitempty"`
}

type RequestQuery

type RequestQuery struct {
	TransactionID   string      `json:"transaction_id,omitempty"` // OutTradeNo 和 TransactionID 二选一
	OutOrderNO      string      `json:"out_order_no,omitempty"`
	Receivers       []*Receiver `json:"reason,omitempty"`
	UnfreezeUnSplit bool        `json:"unfreeze_unsplit,omitempty"`
}

type RequestShare

type RequestShare struct {
	AppID           string      `json:"appid,omitempty"`
	TransactionID   string      `json:"transaction_id,omitempty"` // OutTradeNo 和 TransactionID 二选一
	OutOrderNO      string      `json:"out_order_no,omitempty"`
	Receivers       []*Receiver `json:"receivers,omitempty"`
	UnfreezeUnSplit bool        `json:"unfreeze_unsplit"`
}

type RequestShareReturn

type RequestShareReturn struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`

	AppID string `xml:"appid"`
	MchID string `xml:"mch_id"`
	//NonceStr string `xml:"nonce_str"`
	//SignType          string `xml:"sign_type"`
	//Sign              string `xml:"sign"`
	OutOrderNo        string `xml:"out_order_no"`
	OutReturnNo       string `xml:"out_return_no"`
	ReturnAccountType string `xml:"return_account_type"`
	ReturnAccount     string `xml:"return_account"`
	ReturnAmount      string `xml:"return_amount"`
	Description       string `xml:"description"`
}

Jump to

Keyboard shortcuts

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