response

package
v3.2.23 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseProfitSharingAddReceiver

type ResponseProfitSharingAddReceiver struct {
	response.ResponsePayment

	Type           string `json:"type"`
	Account        string `json:"account"`
	Name           string `json:"name,omitempty"`
	RelationType   string `json:"relation_type,omitempty"`
	CustomRelation string `json:"custom_relation,omitempty"`
}

type ResponseProfitSharingDeleteReceiver

type ResponseProfitSharingDeleteReceiver struct {
	response.ResponsePayment

	Type    string `json:"type"`
	Account string `json:"accountService"`
}

type ResponseProfitSharingGetBills

type ResponseProfitSharingGetBills struct {
	response.ResponsePayment

	DownloadURL string `json:"download_url"`
	HashType    string `json:"hash_type"`
	HashValue   string `json:"hash_value"`
}

type ResponseProfitSharingOrder

type ResponseProfitSharingOrder struct {
	response.ResponsePayment

	TransactionID string              `json:"transaction_id"`
	OutOrderNO    string              `json:"out_order_no"`
	OrderID       string              `json:"order_id"`
	State         string              `json:"state"`
	Receivers     []*request.Receiver `json:"receivers"`
}

type ResponseProfitSharingReturn

type ResponseProfitSharingReturn struct {
	XMLName           xml.Name `xml:"xml"`
	Text              string   `xml:",chardata"`
	ReturnCode        string   `xml:"return_code"`
	MchID             string   `xml:"mch_id"`
	Appid             string   `xml:"appid"`
	NonceStr          string   `xml:"nonce_str"`
	Sign              string   `xml:"sign"`
	OrderID           string   `xml:"order_id"`
	OutOrderNo        string   `xml:"out_order_no"`
	OutReturnNo       string   `xml:"out_return_no"`
	ReturnNo          string   `xml:"return_no"`
	ReturnAccountType string   `xml:"return_account_type"`
	ReturnAccount     string   `xml:"return_account"`
	ReturnAmount      string   `xml:"return_amount"`
	Description       string   `xml:"description"`
	Result            string   `xml:"result"`
	FinishTime        string   `xml:"finish_time"`
}

type ResponseProfitSharingReturnOrder

type ResponseProfitSharingReturnOrder struct {
	response.ResponsePayment

	OrderID     string  `json:"order_id"`
	OutOrderNO  string  `json:"out_order_no"`
	OutReturnNO string  `json:"out_return_no"`
	ReturnID    string  `json:"return_id"`
	ReturnMchID string  `json:"return_mchid"`
	Amount      float64 `json:"amount"`
	Description string  `json:"description"`
	Result      string  `json:"result"`
	FailReason  string  `json:"fail_reason"`
	CreateTime  string  `json:"create_time"`
	FinishTime  string  `json:"finish_time"`
}

type ResponseProfitSharingTransaction

type ResponseProfitSharingTransaction struct {
	response.ResponsePayment

	TransactionID string `json:"transaction_id"`
	UnsplitAmount string `json:"unsplit_amount"`
}

Jump to

Keyboard shortcuts

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