com.wechat.pay.java.service.billdownload.model.QueryBillEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 获取账单文件下载地址的对外API
//
// 为方便商户快速查询和核对账务信息,支持通过本接口获取离线账单的下载地址。
//
// API version: 2.1.4
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.billdownload.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** QueryBillEntity */
public class QueryBillEntity {
/** 哈希类型 说明:哈希类型 */
@SerializedName("hash_type")
private HashType hashType;
/** 哈希值 说明:原始账单(gzip需要解压缩)的摘要值,用于校验文件的完整性 */
@SerializedName("hash_value")
private String hashValue;
/** 下载地址 说明:供下一步请求账单文件的下载地址,该地址5min内有效。 */
@SerializedName("download_url")
private String downloadUrl;
public HashType getHashType() {
return hashType;
}
public void setHashType(HashType hashType) {
this.hashType = hashType;
}
public String getHashValue() {
return hashValue;
}
public void setHashValue(String hashValue) {
this.hashValue = hashValue;
}
public String getDownloadUrl() {
return downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryBillEntity {\n");
sb.append(" hashType: ").append(toIndentedString(hashType)).append("\n");
sb.append(" hashValue: ").append(toIndentedString(hashValue)).append("\n");
sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).append("\n");
sb.append("}");
return sb.toString();
}
}