| TenPayV3UnifiedorderRequestData 构造函数 (String, String, String, String, Int32, String, String, TenPayV3Type, String, String, String, String, NullableDateTimeOffset, NullableDateTime, String, String, String, String, String, Boolean, TenPayV3UnifiedorderRequestData_SceneInfo, String) |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
命名空间:
Senparc.Weixin.TenPay.V3
程序集:
Senparc.Weixin.TenPay (在 Senparc.Weixin.TenPay.dll 中) 版本:1.7.400+09cf0202d5d3e8b12fec87564321e2fafb5f0214
语法 public TenPayV3UnifiedorderRequestData(
string appId,
string mchId,
string body,
string outTradeNo,
int totalFee,
string spbillCreateIp,
string notifyUrl,
TenPayV3Type tradeType,
string openid,
string key,
string nonceStr,
string deviceInfo = null,
Nullable<DateTimeOffset> timeStart = null,
Nullable<DateTime> timeExpire = null,
string detail = null,
string attach = null,
string feeType = "CNY",
string goodsTag = null,
string productId = null,
bool limitPay = false,
TenPayV3UnifiedorderRequestData_SceneInfo sceneInfo = null,
string profitSharing = null
)
Public Sub New (
appId As String,
mchId As String,
body As String,
outTradeNo As String,
totalFee As Integer,
spbillCreateIp As String,
notifyUrl As String,
tradeType As TenPayV3Type,
openid As String,
key As String,
nonceStr As String,
Optional deviceInfo As String = Nothing,
Optional timeStart As Nullable(Of DateTimeOffset) = Nothing,
Optional timeExpire As Nullable(Of DateTime) = Nothing,
Optional detail As String = Nothing,
Optional attach As String = Nothing,
Optional feeType As String = "CNY",
Optional goodsTag As String = Nothing,
Optional productId As String = Nothing,
Optional limitPay As Boolean = false,
Optional sceneInfo As TenPayV3UnifiedorderRequestData_SceneInfo = Nothing,
Optional profitSharing As String = Nothing
)
参数
- appId
- 类型:SystemString
- mchId
- 类型:SystemString
- body
- 类型:SystemString
- outTradeNo
- 类型:SystemString
- totalFee
- 类型:SystemInt32
- spbillCreateIp
- 类型:SystemString
- notifyUrl
- 类型:SystemString
- tradeType
- 类型:Senparc.Weixin.TenPayTenPayV3Type
- openid
- 类型:SystemString
- key
- 类型:SystemString
- nonceStr
- 类型:SystemString
- deviceInfo (Optional)
- 类型:SystemString
- timeStart (Optional)
- 类型:SystemNullableDateTimeOffset
- timeExpire (Optional)
- 类型:SystemNullableDateTime
- detail (Optional)
- 类型:SystemString
- attach (Optional)
- 类型:SystemString
- feeType (Optional)
- 类型:SystemString
- goodsTag (Optional)
- 类型:SystemString
- productId (Optional)
- 类型:SystemString
- limitPay (Optional)
- 类型:SystemBoolean
- sceneInfo (Optional)
- 类型:Senparc.Weixin.TenPay.V3TenPayV3UnifiedorderRequestData_SceneInfo
- profitSharing (Optional)
- 类型:SystemString
参见