public class SubOrder extends Object
| Modifier and Type | Field and Description |
|---|---|
private TotalAmount |
amount
合单支付订单金额信息,必填。
|
private String |
attach
附加数据,必填,在查询API和支付通知中原样返回,可作为自定义参数使用。
|
private String |
description
商品描述,必填,需传入应用市场上的APP名字-实际商品名称,例如:天天爱消除-游戏充值。
|
private String |
goodsTag
订单优惠标记,使用代金券或立减优惠功能时需要的参数,
参见金券或立减优惠
|
private String |
mchid
子单发起方商户号,必填,必须与发起方appid有绑定关系。
|
private String |
outTradeNo
子单商户订单号,必填,商户系统内部订单号,要求32个字符内,只能是数字、大小写字母_-|*@ ,且在同一个商户号下唯一。
|
private SettleInfo |
settleInfo
结算信息,选填
|
| Constructor and Description |
|---|
SubOrder(String mchid,
String attach,
TotalAmount amount,
String outTradeNo,
String description,
String goodsTag,
SettleInfo settleInfo)
Instantiates a new Sub order.
|
private final String mchid
private final String attach
private final TotalAmount amount
private final String outTradeNo
private final String description
private SettleInfo settleInfo
SubOrder(String mchid, String attach, TotalAmount amount, String outTradeNo, String description, String goodsTag, SettleInfo settleInfo)
mchid - the mchidattach - the attachamount - the amountoutTradeNo - the out trade nodescription - the descriptiongoodsTag - the goods tagsettleInfo - the settle infoCopyright © 2023. All rights reserved.