@Local @AutoLoad(value=false) public class UnionPayService extends AbstractPayService
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UnionPayService.UnionPayElement |
AbstractPayService.PayElement| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
conf |
protected org.redkale.convert.json.JsonConvert |
convert |
protected Map<String,UnionPayService.UnionPayElement> |
elements |
protected static String |
format |
protected File |
home |
| 构造器和说明 |
|---|
UnionPayService() |
joinMap, urlEncodeUTF8protected Map<String,UnionPayService.UnionPayElement> elements
protected File home
protected String conf
protected org.redkale.convert.json.JsonConvert convert
public void init(org.redkale.util.AnyValue conf)
@Comment(value="\u5224\u65ad\u662f\u5426\u652f\u6301\u6307\u5b9a\u652f\u4ed8\u7c7b\u578b") public boolean supportPayType(short paytype)
supportPayType 在类中 AbstractPayService@Comment(value="\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e") public void reloadConfig(short paytype)
reloadConfig 在类中 AbstractPayServicepublic void setPayElements(Map<String,UnionPayService.UnionPayElement> elements)
public void putPayElements(Map<String,UnionPayService.UnionPayElement> elements)
public UnionPayService.UnionPayElement getPayElement(String appid)
getPayElement 在类中 AbstractPayServicepublic void setPayElement(String appid, UnionPayService.UnionPayElement element)
public boolean existsPayElement(String appid)
public PayPreResponse prepay(PayPreRequest request)
prepay 在类中 AbstractPayServicepublic PayNotifyResponse notify(PayNotifyRequest request)
notify 在类中 AbstractPayServicepublic PayCreatResponse create(PayCreatRequest request)
create 在类中 AbstractPayServicepublic PayQueryResponse query(PayRequest request)
query 在类中 AbstractPayServicepublic PayResponse close(PayCloseRequest request)
close 在类中 AbstractPayServicepublic PayRefundResponse refund(PayRefundRequest request)
refund 在类中 AbstractPayServicepublic PayRefundResponse queryRefund(PayRequest request)
queryRefund 在类中 AbstractPayServiceprotected String createSign(AbstractPayService.PayElement element, Map<String,?> map) throws Exception
createSign 在类中 AbstractPayServiceExceptionprotected boolean checkSign(AbstractPayService.PayElement element, Map<String,?> map)
checkSign 在类中 AbstractPayServiceCopyright © 2020. All rights reserved.