Class WeixinOldPaymentSignature
- java.lang.Object
-
- com.foxinmy.weixin4j.sign.AbstractWeixinSignature
-
- com.foxinmy.weixin4j.mp.oldpayment.WeixinOldPaymentSignature
-
- All Implemented Interfaces:
WeixinSignature
public class WeixinOldPaymentSignature extends AbstractWeixinSignature
老版本支付签名- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description WeixinOldPaymentSignature(String paySignKey, String partnerKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignType
getSignType()
签名类型boolean
lowerCase()
是否转换小写String
sign(PayPackageV2 packageInfo)
package拼接签名String
sign(Object obj)
签名-
Methods inherited from class com.foxinmy.weixin4j.sign.AbstractWeixinSignature
encoder, join
-
-
-
-
Method Detail
-
lowerCase
public boolean lowerCase()
Description copied from class:AbstractWeixinSignature
是否转换小写- Specified by:
lowerCase
in interfaceWeixinSignature
- Overrides:
lowerCase
in classAbstractWeixinSignature
- Returns:
- 默认false不转换小写
-
sign
public String sign(Object obj)
Description copied from interface:WeixinSignature
签名- Returns:
-
getSignType
public SignType getSignType()
Description copied from interface:WeixinSignature
签名类型- Returns:
-
sign
public String sign(PayPackageV2 packageInfo)
package拼接签名- Parameters:
packageInfo
- package对象- Returns:
-
-