🆕 #3023 【微信支付】增加根据账户类型查询二级商户实时余额的接口,同时修复批量转账订单相关接口的问题
This commit is contained in:
@@ -7,6 +7,7 @@ import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverRequest;
|
||||
import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverResult;
|
||||
import com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader;
|
||||
import com.github.binarywang.wxpay.bean.ecommerce.TransactionsResult;
|
||||
import com.github.binarywang.wxpay.bean.ecommerce.enums.SpAccountTypeEnum;
|
||||
import com.github.binarywang.wxpay.bean.ecommerce.enums.TradeTypeEnum;
|
||||
import com.github.binarywang.wxpay.exception.WxPayException;
|
||||
import com.github.binarywang.wxpay.service.WxPayService;
|
||||
@@ -125,6 +126,12 @@ public class EcommerceServiceImplTest {
|
||||
wxPayService.getEcommerceService().subNowBalance(subMchid);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSubNowBalanceWithAccountType() throws WxPayException {
|
||||
String subMchid = "";
|
||||
wxPayService.getEcommerceService().subNowBalance(subMchid, SpAccountTypeEnum.BASIC);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAddReceivers() throws WxPayException {
|
||||
ProfitSharingReceiverRequest request = new ProfitSharingReceiverRequest();
|
||||
|
||||
Reference in New Issue
Block a user