批量格式化代码

This commit is contained in:
Binary Wang
2017-05-11 17:07:08 +08:00
parent 5f887739a3
commit 8982cf8471
223 changed files with 2425 additions and 2793 deletions

View File

@@ -24,48 +24,17 @@ public class WxPayConfig {
private String keyPath;
private boolean useSandboxEnv = false;
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public void setTradeType(String tradeType) {
this.tradeType = tradeType;
}
/**
* 设置证书
* @param keyPath apiclient_cert.p12的文件的绝对路径
*/
public void setKeyPath(String keyPath) {
this.keyPath = keyPath;
}
public String getKeyPath() {
return keyPath;
}
public void setAppId(String appId) {
this.appId = appId;
}
public void setSubAppId(String subAppId) {
this.subAppId = subAppId;
}
public void setMchId(String mchId) {
this.mchId = mchId;
}
public void setMchKey(String mchKey) {
this.mchKey = mchKey;
}
public void setSubMchId(String subMchId) {
this.subMchId = subMchId;
}
public void setSslContext(SSLContext sslContext) {
this.sslContext = sslContext;
/**
* 设置证书
*
* @param keyPath apiclient_cert.p12的文件的绝对路径
*/
public void setKeyPath(String keyPath) {
this.keyPath = keyPath;
}
/**
@@ -75,6 +44,10 @@ public class WxPayConfig {
return this.mchId;
}
public void setMchId(String mchId) {
this.mchId = mchId;
}
/**
* 商户密钥
*/
@@ -82,6 +55,10 @@ public class WxPayConfig {
return this.mchKey;
}
public void setMchKey(String mchKey) {
this.mchKey = mchKey;
}
/**
* 公众号appid
*/
@@ -89,6 +66,10 @@ public class WxPayConfig {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
/**
* 服务商模式下的子商户公众账号ID
*/
@@ -96,6 +77,10 @@ public class WxPayConfig {
return this.subAppId;
}
public void setSubAppId(String subAppId) {
this.subAppId = subAppId;
}
/**
* 服务商模式下的子商户号
*/
@@ -103,6 +88,10 @@ public class WxPayConfig {
return this.subMchId;
}
public void setSubMchId(String subMchId) {
this.subMchId = subMchId;
}
/**
* 微信支付异步回掉地址通知url必须为直接可访问的url不能携带参数。
*/
@@ -110,6 +99,10 @@ public class WxPayConfig {
return this.notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
/**
* 交易类型
* <pre>
@@ -122,10 +115,18 @@ public class WxPayConfig {
return this.tradeType;
}
public void setTradeType(String tradeType) {
this.tradeType = tradeType;
}
public SSLContext getSslContext() {
return this.sslContext;
}
public void setSslContext(SSLContext sslContext) {
this.sslContext = sslContext;
}
/**
* 微信支付是否使用仿真测试环境
* 默认不使用