实现获取仿真测试系统的验签密钥的API #206

This commit is contained in:
Binary Wang
2017-06-18 12:19:51 +08:00
parent 9eb4ccf4a4
commit 87687b3369
5 changed files with 107 additions and 15 deletions

View File

@@ -0,0 +1,19 @@
package com.github.binarywang.wxpay.bean.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* <pre>
* 支付请求默认对象类
* Created by BinaryWang on 2017/6/18.
* </pre>
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
*/
@XStreamAlias("xml")
public class WxPayDefaultRequest extends WxPayBaseRequest {
@Override
protected void checkConstraints() {
//do nothing
}
}

View File

@@ -0,0 +1,35 @@
package com.github.binarywang.wxpay.bean.result;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* <pre>
* Created by BinaryWang on 2017/6/18.
* </pre>
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
*/
@XStreamAlias("xml")
public class WxPaySandboxSignKeyResult extends WxPayBaseResult {
/**
* <pre>
* 沙箱密钥
* sandbox_signkey
* 否
* 013467007045764
* String(32)
* 返回的沙箱密钥
* </pre>
*/
@XStreamAlias("sandbox_signkey")
private String sandboxSignKey;
public String getSandboxSignKey() {
return sandboxSignKey;
}
public void setSandboxSignKey(String sandboxSignKey) {
this.sandboxSignKey = sandboxSignKey;
}
}