service/vendor/github.com/go-pay/gopay/alipay/model_merchant.go

93 lines
3.2 KiB
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
package alipay
type TradeRelationBindResponse struct {
Response *TradeRelationBind `json:"alipay_trade_royalty_relation_bind_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type TradeRelationUnbindResponse struct {
Response *TradeRelationBind `json:"alipay_trade_royalty_relation_unbind_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type TradeRelationBatchQueryResponse struct {
Response *TradeRelationBatchQuery `json:"alipay_trade_order_settle_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type TradeSettleConfirmResponse struct {
Response *TradeOrderSettle `json:"alipay_trade_settle_confirm_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type TradeOrderSettleResponse struct {
Response *TradeOrderSettle `json:"alipay_trade_order_settle_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type TradeOrderSettleQueryResponse struct {
Response *TradeOrderSettleQuery `json:"alipay_trade_order_settle_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
// =========================================================分割=========================================================
type TradeRelationBind struct {
ErrorResponse
ResultCode string `json:"result_code"`
}
type TradeRelationBatchQuery struct {
ErrorResponse
ResultCode string `json:"result_code"`
ReceiverList []*Receiver `json:"receiver_list"`
TotalPageNum int `json:"total_page_num"`
TotalRecordNum int `json:"total_record_num"`
CurrentPageNum int `json:"current_page_num"`
CurrentPageSize int `json:"current_page_size"`
}
type Receiver struct {
Type string `json:"type"`
Account string `json:"account"`
Memo string `json:"memo"`
}
type TradeOrderSettle struct {
ErrorResponse
TradeNo string `json:"trade_no,omitempty"`
}
type TradeOrderSettleQuery struct {
ErrorResponse
OutTradeNo string `json:"out_request_no"`
OperationDt string `json:"operation_dt"`
RoyaltyDetailList []*RoyaltyDetail `json:"royalty_detail_list"`
}
type RoyaltyDetail struct {
OperationType string `json:"operation_type"`
ExecuteDt string `json:"execute_dt"`
TransOut string `json:"trans_out"`
TransOutType string `json:"trans_out_type"`
TransIn string `json:"trans_in"`
TransInType string `json:"trans_in_type"`
Amount string `json:"amount"`
State string `json:"state"`
DetailId string `json:"detail_id"`
ErrorCode string `json:"error_code"`
ErrorDesc string `json:"error_desc"`
}