实现微信支付下载对账单的接口,还未完成,待调试 #65

This commit is contained in:
Binary Wang
2017-01-12 11:12:08 +08:00
parent a2398ddeb1
commit e97c15b6ce
4 changed files with 195 additions and 6 deletions

View File

@@ -0,0 +1,123 @@
package me.chanjar.weixin.mp.bean.pay.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import me.chanjar.weixin.common.annotation.Required;
/**
* <pre>
* 微信支付下载对账单请求参数类
* Created by Binary Wang on 2017-01-11.
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a>
* </pre>
*/
@XStreamAlias("xml")
public class WxPayDownloadBillRequest extends WxPayBaseRequest {
/**
* <pre>
* 设备号
* device_info
* 否
* String(32)
* 13467007045764
* 终端设备号
* </pre>
*/
@XStreamAlias("device_info")
private String deviceInfo;
/**
* <pre>
* 签名类型
* sign_type
* 否
* String(32)
* HMAC-SHA256
* 签名类型目前支持HMAC-SHA256和MD5默认为MD5
* </pre>
*/
@XStreamAlias("sign_type")
private String signType;
/**
* <pre>
* 账单类型
* bill_type
* 是
* ALL
* String(8)
* --ALL返回当日所有订单信息默认值
* --SUCCESS返回当日成功支付的订单
* --REFUND返回当日退款订单
* </pre>
*/
@Required
@XStreamAlias("bill_type")
private String billType;
/**
* <pre>
* 对账单日期
* bill_date
* 是
* String(8)
* 20140603
* 下载对账单的日期格式20140603
* </pre>
*/
@Required
@XStreamAlias("bill_date")
private String billDate;
/**
* <pre>
* 压缩账单
* tar_type
* 否
* String(8)
* GZIP
* 非必传参数固定值GZIP返回格式为.gzip的压缩包账单。不传则默认为数据流形式。
* </pre>
*/
@XStreamAlias("tar_type")
private String tarType;
public String getDeviceInfo() {
return deviceInfo;
}
public void setDeviceInfo(String deviceInfo) {
this.deviceInfo = deviceInfo;
}
public String getSignType() {
return signType;
}
public void setSignType(String signType) {
this.signType = signType;
}
public String getBillType() {
return billType;
}
public void setBillType(String billType) {
this.billType = billType;
}
public String getBillDate() {
return billDate;
}
public void setBillDate(String billDate) {
this.billDate = billDate;
}
public String getTarType() {
return tarType;
}
public void setTarType(String tarType) {
this.tarType = tarType;
}
}