com.wechat.pay.java.service.billdownload.model.QueryEncryptBillEntity 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;
import com.wechat.pay.java.core.cipher.Encryption;
import java.util.ArrayList;
import java.util.List;
import java.util.function.UnaryOperator;
/** QueryEncryptBillEntity */
public class QueryEncryptBillEntity {
/** 下载信息总数 说明:下载信息总数 */
@SerializedName("download_bill_count")
private Long downloadBillCount;
/** 下载信息明细 说明:下载信息明细 */
@Encryption
@SerializedName("download_bill_list")
private List downloadBillList;
public Long getDownloadBillCount() {
return downloadBillCount;
}
public void setDownloadBillCount(Long downloadBillCount) {
this.downloadBillCount = downloadBillCount;
}
public List getDownloadBillList() {
return downloadBillList;
}
public void setDownloadBillList(List downloadBillList) {
this.downloadBillList = downloadBillList;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryEncryptBillEntity {\n");
sb.append(" downloadBillCount: ").append(toIndentedString(downloadBillCount)).append("\n");
sb.append(" downloadBillList: ").append(toIndentedString(downloadBillList)).append("\n");
sb.append("}");
return sb.toString();
}
public QueryEncryptBillEntity cloneWithCipher(UnaryOperator s) {
QueryEncryptBillEntity copy = new QueryEncryptBillEntity();
copy.downloadBillCount = downloadBillCount;
if (downloadBillList != null && downloadBillList.size() != 0) {
// arr
copy.downloadBillList = new ArrayList<>();
for (EncryptBillEntity val : downloadBillList) {
if (val != null) {
copy.downloadBillList.add(val.cloneWithCipher(s));
}
}
}
return copy;
}
}