package com.dobbinsoft.fw.pay.model.request; import com.github.binarywang.wxpay.constant.WxPayConstants.AccountType; import com.github.binarywang.wxpay.exception.WxPayException; import lombok.*; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import java.util.Arrays; /** *
* 微信支付下载资金账单请求参数类 * Created by cwivan on 2018-08-02. ** * @author cwivan */ @Data @EqualsAndHashCode(callSuper = true) @Builder(builderMethodName = "newBuilder") @NoArgsConstructor @AllArgsConstructor public class MatrixPayDownloadFundFlowRequest extends MatrixBasePayRequest { private static final String[] ACCOUNT_TYPES = new String[]{AccountType.BASIC, AccountType.OPERATION, AccountType.FEES}; private static final String SIGN_TYPE_HMAC_SHA256 = "HMAC-SHA256"; private static final String TAR_TYPE_GZIP = "GZIP"; private static final long serialVersionUID = -397384489175016281L; /** *
* 对账单日期 * bill_date * 是 * String(8) * 20140603 * 下载对账单的日期,格式:20140603 **/ private String billDate; /** *
* 资金账户类型 * account_type * 是 * Basic * String(8) * --Basic,基本账户 * --Operation,运营账户 * --Fees,手续费账户 **/ private String accountType; /** *
* 压缩账单 * tar_type * 否 * String(8) * GZIP * 非必传参数,固定值:GZIP,返回格式为.gzip的压缩包账单。不传则默认为数据流形式。 **/ private String tarType; }