| | |
| | | package org.yeshi.utils.entity.wx;
|
| | |
|
| | | public class WXAPPInfo {
|
| | | private String appId;
|
| | | private String appSecret;
|
| | | private String mchId;
|
| | | private String mchKey;
|
| | |
|
| | |
|
| | | /**
|
| | | * V3接口新增字段
|
| | | */
|
| | | //证书序列号
|
| | | private String mchSerialNo;
|
| | | //证书私钥
|
| | | private String privateKey;
|
| | | private String apiV3Key;
|
| | |
|
| | |
|
| | | public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) {
|
| | | this.appId = appId;
|
| | | this.appSecret = appSecret;
|
| | | this.mchId = mchId;
|
| | | this.mchKey = mchKey;
|
| | | }
|
| | |
|
| | | public WXAPPInfo(String appId, String mchId, String mchSerialNo, String privateKey, String apiV3Key) {
|
| | | this.appId = appId;
|
| | | this.mchId = mchId;
|
| | | this.mchSerialNo = mchSerialNo;
|
| | | this.privateKey = privateKey;
|
| | | this.apiV3Key = apiV3Key;
|
| | | }
|
| | |
|
| | |
|
| | | public WXAPPInfo() {
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | | public String getMchSerialNo() {
|
| | | return mchSerialNo;
|
| | | }
|
| | |
|
| | | public void setMchSerialNo(String mchSerialNo) {
|
| | | this.mchSerialNo = mchSerialNo;
|
| | | }
|
| | |
|
| | | public String getPrivateKey() {
|
| | | return privateKey;
|
| | | }
|
| | |
|
| | | public void setPrivateKey(String privateKey) {
|
| | | this.privateKey = privateKey;
|
| | | }
|
| | |
|
| | | public String getApiV3Key() {
|
| | | return apiV3Key;
|
| | | }
|
| | |
|
| | | public void setApiV3Key(String apiV3Key) {
|
| | | this.apiV3Key = apiV3Key;
|
| | | }
|
| | |
|
| | | public String getAppId() {
|
| | | return appId;
|
| | | }
|
| | |
|
| | | public void setAppId(String appId) {
|
| | | this.appId = appId;
|
| | | }
|
| | |
|
| | | public String getAppSecret() {
|
| | | return appSecret;
|
| | | }
|
| | |
|
| | | public void setAppSecret(String appSecret) {
|
| | | this.appSecret = appSecret;
|
| | | }
|
| | |
|
| | | public String getMchId() {
|
| | | return mchId;
|
| | | }
|
| | |
|
| | | public void setMchId(String mchId) {
|
| | | this.mchId = mchId;
|
| | | }
|
| | |
|
| | | public String getMchKey() {
|
| | | return mchKey;
|
| | | }
|
| | |
|
| | | public void setMchKey(String mchKey) {
|
| | | this.mchKey = mchKey;
|
| | | }
|
| | |
|
| | | }
|
| | | package org.yeshi.utils.entity.wx; |
| | | |
| | | public class WXAPPInfo { |
| | | private String appId; |
| | | private String appSecret; |
| | | private String mchId; |
| | | private String mchKey; |
| | | |
| | | |
| | | /** |
| | | * V3接口新增字段 |
| | | */ |
| | | //证书序列号 |
| | | private String mchSerialNo; |
| | | //证书私钥 |
| | | private String privateKey; |
| | | private String apiV3Key; |
| | | |
| | | |
| | | public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) { |
| | | this.appId = appId; |
| | | this.appSecret = appSecret; |
| | | this.mchId = mchId; |
| | | this.mchKey = mchKey; |
| | | } |
| | | |
| | | public WXAPPInfo(String appId, String mchId, String mchSerialNo, String privateKey, String apiV3Key) { |
| | | this.appId = appId; |
| | | this.mchId = mchId; |
| | | this.mchSerialNo = mchSerialNo; |
| | | this.privateKey = privateKey; |
| | | this.apiV3Key = apiV3Key; |
| | | } |
| | | |
| | | |
| | | public WXAPPInfo() { |
| | | |
| | | } |
| | | |
| | | |
| | | public String getMchSerialNo() { |
| | | return mchSerialNo; |
| | | } |
| | | |
| | | public void setMchSerialNo(String mchSerialNo) { |
| | | this.mchSerialNo = mchSerialNo; |
| | | } |
| | | |
| | | public String getPrivateKey() { |
| | | return privateKey; |
| | | } |
| | | |
| | | public void setPrivateKey(String privateKey) { |
| | | this.privateKey = privateKey; |
| | | } |
| | | |
| | | public String getApiV3Key() { |
| | | return apiV3Key; |
| | | } |
| | | |
| | | public void setApiV3Key(String apiV3Key) { |
| | | this.apiV3Key = apiV3Key; |
| | | } |
| | | |
| | | public String getAppId() { |
| | | return appId; |
| | | } |
| | | |
| | | public void setAppId(String appId) { |
| | | this.appId = appId; |
| | | } |
| | | |
| | | public String getAppSecret() { |
| | | return appSecret; |
| | | } |
| | | |
| | | public void setAppSecret(String appSecret) { |
| | | this.appSecret = appSecret; |
| | | } |
| | | |
| | | public String getMchId() { |
| | | return mchId; |
| | | } |
| | | |
| | | public void setMchId(String mchId) { |
| | | this.mchId = mchId; |
| | | } |
| | | |
| | | public String getMchKey() { |
| | | return mchKey; |
| | | } |
| | | |
| | | public void setMchKey(String mchKey) { |
| | | this.mchKey = mchKey; |
| | | } |
| | | |
| | | } |