Package com.foxinmy.weixin4j.pay.sign
Class WeixinPaymentSignature
- java.lang.Object
-
- com.foxinmy.weixin4j.pay.sign.AbstractWeixinSignature
-
- com.foxinmy.weixin4j.pay.sign.WeixinPaymentSignature
-
- All Implemented Interfaces:
WeixinSignature
public class WeixinPaymentSignature extends AbstractWeixinSignature
微信支付签名实现- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- 支付签名说明
-
-
Constructor Summary
Constructors Constructor Description WeixinPaymentSignature(String paySignKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
sign(Object obj)
签名(默认的MD5签名)String
sign(Object obj, SignType signType)
签名(指定签名算法)-
Methods inherited from class com.foxinmy.weixin4j.pay.sign.AbstractWeixinSignature
encoder, join, lowerCase
-
-
-
-
Constructor Detail
-
WeixinPaymentSignature
public WeixinPaymentSignature(String paySignKey)
-
-
Method Detail
-
sign
public String sign(Object obj)
Description copied from interface:WeixinSignature
签名(默认的MD5签名)- Returns:
-
sign
public String sign(Object obj, SignType signType)
Description copied from interface:WeixinSignature
签名(指定签名算法)- Returns:
-
-