-
Notifications
You must be signed in to change notification settings - Fork 3
/
partner_base.go
29 lines (26 loc) · 1.16 KB
/
partner_base.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2022 YBCZ, Inc. All rights reserved.
//
// Use of this source code is governed by a MIT license
// that can be found in the LICENSE file in the root of the source
// tree.
package mch_api_v3
type PartnerPayer struct {
SpOpenid string `json:"sp_openid,omitempty"`
SubOpenid string `json:"sub_openid,omitempty"`
}
type PartnerJsApiTransactionReq struct {
SpAppId string `json:"sp_appid"`
SpMchId string `json:"sp_mchid"`
SubAppid string `json:"sub_appid,omitempty"`
SubMchId string `json:"sub_mchid"`
Description string `json:"description"`
OutTradeNo string `json:"out_trade_no"`
TimeExpire string `json:"time_expire,omitempty"`
Attach string `json:"attach,omitempty"`
NotifyUrl string `json:"notify_url"`
GoodsTag string `json:"goods_tag,omitempty"`
Amount TransactionAmount `json:"amount"`
Payer PartnerPayer `json:"payer"`
SettleInfo *TransactionSettleInfo `json:"settle_info,omitempty"`
}
type PartnerJsApiTransactionResp JsApiTransactionResp