public class PayProxyGatewayUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PAY_PROXY_PREFIX_URL |
static String |
PAY_PROXY_REFUND_FAST_PAY_PREFIX_URL |
static String |
PAY_PROXY_ROYALTY_PREFIX_URL |
| 构造器和说明 |
|---|
PayProxyGatewayUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getCallPayProxyURL(Map<String,String> paramsMap,
String bizKey)
取得访问支付网关的url
|
static String |
getRefundFastpayUrl(Map<String,String> paramsMap,
String bizKey)
创建退款的url
|
static String |
getRoyaltyUrl(Map<String,String> paramsMap,
String bizKey)
创建分润的url
|
static String |
sign(Map<String,String> paramsMap,
String bizKey,
String charset) |
public static String PAY_PROXY_PREFIX_URL
public static String PAY_PROXY_ROYALTY_PREFIX_URL
public static String PAY_PROXY_REFUND_FAST_PAY_PREFIX_URL
public static String getCallPayProxyURL(Map<String,String> paramsMap, String bizKey) throws PayProxyURLException
paramsMap - 放置除了signMsg之外的要传递的参数bizKey - 加密的bizKeyPayProxyURLExceptionpublic static String getRoyaltyUrl(Map<String,String> paramsMap, String bizKey) throws PayProxyURLException
paramsMap - 放置除了signMsg之外的要传递的参数bizKey - 加密的bizKeyPayProxyURLExceptionpublic static String getRefundFastpayUrl(Map<String,String> paramsMap, String bizKey) throws PayProxyURLException
paramsMap - 放置除了signMsg之外的要传递的参数bizKey - 加密的bizKeyPayProxyURLExceptionpublic static String sign(Map<String,String> paramsMap, String bizKey, String charset) throws PayProxyURLException
paramsMap - 放置要加密的参数bizKey - 支付网关分配的密钥UnsupportedEncodingExceptionPayProxyURLExceptionCopyright © 2013 Xunlei Networking Technologies. All rights reserved.