Skip to content

Commit

Permalink
🆕 #1385 微信支付付款码支付请求对象添加支持分账的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed Jan 19, 2020
1 parent 6b3a09a commit 1a136a2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/**
* <pre>
* 提交刷卡支付请求对象类
* 提交付款码支付请求对象类
* Created by Binary Wang on 2017-3-23.
* </pre>
*
Expand Down Expand Up @@ -211,6 +211,18 @@ public class WxPayMicropayRequest extends BaseWxPayRequest {
@XStreamAlias("scene_info")
private String sceneInfo;

/**
* <pre>
* 字段名:是否指定服务商分账.
* 变量名:profit_sharing
* 是否必填:否
* 详情:Y-是,需要分账 N-否,不分账,字母要求大写,不传默认不分账
* 详细参考 https://pay.weixin.qq.com/wiki/doc/api/allocation_sl.php?chapter=24_3&index=3
* </pre>
*/
@XStreamAlias("profit_sharing")
private String profitSharing;

@Override
protected void checkConstraints() {
//do nothing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ WxPayRefundQueryResult refundQuery(String transactionId, String outTradeNo, Stri

/**
* <pre>
* 提交刷卡支付.
* 提交付款码支付.
* 文档地址:https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1
* 应用场景:
* 收银员使用扫码设备读取微信用户刷卡授权码以后,二维码或条码信息传送至商户收银台,由商户收银台或者商户后台调用该接口发起支付。
Expand Down

0 comments on commit 1a136a2

Please sign in to comment.