diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateRequest.java index 38bfcb9ed..a94e68d11 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateRequest.java @@ -1,5 +1,6 @@ package com.github.binarywang.wxpay.bean.merchanttransfer; +import com.github.binarywang.wxpay.service.WxPayService; import com.github.binarywang.wxpay.v3.SpecEncrypt; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; @@ -136,6 +137,20 @@ public class TransferCreateRequest implements Serializable { @SerializedName("transfer_scene_id") private String transferSceneId; + /** + *
+   * 字段名:通知地址
+   * 变量名:notify_url
+   * 是否必填:否
+   * 类型:string(256)
+   * 描述:
+   *  异步接收微信支付结果通知的回调地址,通知url必须为公网可访问的url,必须为https,不能携带参数。
+   * 回调解析: {@link WxPayService#parseTransferBatchesNotifyV3Result}
+   * 
+ */ + @SerializedName("notify_url") + private String notifyUrl; + /** * The type Transfer detail list. diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateResult.java index f2417c468..026eee69f 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchanttransfer/TransferCreateResult.java @@ -63,4 +63,15 @@ public class TransferCreateResult implements Serializable { */ @SerializedName("create_time") private String createTime; + + /** + * 批次状态 + * 说明: + * ACCEPTED:已受理。批次已受理成功,若发起批量转账的30分钟后,转账批次单仍处于该状态,可能原因是商户账户余额不足等。商户可查询账户资金流水,若该笔转账批次单的扣款已经发生,则表示批次已经进入转账中,请再次查单确认 + * PROCESSING:转账中。已开始处理批次内的转账明细单 + * FINISHED:已完成。批次内的所有转账明细单都已处理完成 + * CLOSED:已关闭。可查询具体的批次关闭原因确认 + */ + @SerializedName("batch_status") + private String batchStatus; }