public class WeChatPayFunctions extends AbstractFunctionRule
| 限定符和类型 | 字段和说明 |
|---|---|
protected WechatPayCoreProperties |
properties |
| 构造器和说明 |
|---|
WeChatPayFunctions() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkMap(Map<String,String> doXMLParse) |
protected RefundReturnModel |
createRefundRequest(RefundModel model)
发起退款申请
|
protected String |
createSign(SortedMap<String,String> sortMap)
生成签名
|
protected Map<String,String> |
createUnifiedOrder(PayModel model)
统一下单接口 用于生成 预支付id 及二维码id
|
Map<String,String> |
createWithdrawXml(WithdrawModel model)
发起微信转账(提现)
|
protected WechatPayCoreProperties properties
public Map<String,String> createWithdrawXml(WithdrawModel model) throws cn.minsin.core.exception.MutilsErrorException, org.apache.http.client.ClientProtocolException, IOException
model - 发起提现的包装类cn.minsin.core.exception.MutilsErrorExceptionIOExceptionorg.apache.http.client.ClientProtocolExceptionorg.jdom.JDOMExceptionprotected RefundReturnModel createRefundRequest(RefundModel model) throws cn.minsin.core.exception.MutilsErrorException, org.apache.http.client.ClientProtocolException, IOException
model - cn.minsin.core.exception.MutilsErrorExceptionIOExceptionorg.apache.http.client.ClientProtocolExceptionprotected Map<String,String> createUnifiedOrder(PayModel model) throws org.apache.http.ParseException, IOException, cn.minsin.core.exception.MutilsErrorException
model - 预下单的对象org.apache.http.ParseExceptioncn.minsin.core.exception.MutilsErrorExceptionIOExceptionorg.jdom.JDOMExceptionprotected void checkMap(Map<String,String> doXMLParse) throws cn.minsin.core.exception.MutilsErrorException
cn.minsin.core.exception.MutilsErrorExceptionCopyright © 2020. All rights reserved.