package com.alipay.api.request; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayEbppBillSearchResponse; import com.alipay.api.AlipayObject; /** * ALIPAY API: alipay.ebpp.bill.search request * * @author auto create * @since 1.0, 2017-04-07 17:13:40 */ public class AlipayEbppBillSearchRequest implements AlipayRequest<AlipayEbppBillSearchResponse> { private AlipayHashMap udfParams; // add user-defined text parameters private String apiVersion="1.0"; /** * 账单流水 */ private String billKey; /** * 出账机构 */ private String chargeInst; /** * 销账机构 */ private String chargeoffInst; /** * 销账机构给出账机构分配的id */ private String companyId; /** * 必须以key value形式定义,转为json为格式:{"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} 后端会直接转换为MAP对象,转换异常会报参数格式错误 */ private String extend; /** * 业务类型 */ private String orderType; /** * 子业务类型 */ private String subOrderType; public void setBillKey(String billKey) { this.billKey = billKey; } public String getBillKey() { return this.billKey; } public void setChargeInst(String chargeInst) { this.chargeInst = chargeInst; } public String getChargeInst() { return this.chargeInst; } public void setChargeoffInst(String chargeoffInst) { this.chargeoffInst = chargeoffInst; } public String getChargeoffInst() { return this.chargeoffInst; } public void setCompanyId(String companyId) { this.companyId = companyId; } public String getCompanyId() { return this.companyId; } public void setExtend(String extend) { this.extend = extend; } public String getExtend() { return this.extend; } public void setOrderType(String orderType) { this.orderType = orderType; } public String getOrderType() { return this.orderType; } public void setSubOrderType(String subOrderType) { this.subOrderType = subOrderType; } public String getSubOrderType() { return this.subOrderType; } private String terminalType; private String terminalInfo; private String prodCode; private String notifyUrl; private String returnUrl; private boolean needEncrypt=false; private AlipayObject bizModel=null; public String getNotifyUrl() { return this.notifyUrl; } public void setNotifyUrl(String notifyUrl) { this.notifyUrl = notifyUrl; } public String getReturnUrl() { return this.returnUrl; } public void setReturnUrl(String returnUrl) { this.returnUrl = returnUrl; } public String getApiVersion() { return this.apiVersion; } public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } public void setTerminalType(String terminalType){ this.terminalType=terminalType; } public String getTerminalType(){ return this.terminalType; } public void setTerminalInfo(String terminalInfo){ this.terminalInfo=terminalInfo; } public String getTerminalInfo(){ return this.terminalInfo; } public void setProdCode(String prodCode) { this.prodCode=prodCode; } public String getProdCode() { return this.prodCode; } public String getApiMethodName() { return "alipay.ebpp.bill.search"; } public Map<String, String> getTextParams() { AlipayHashMap txtParams = new AlipayHashMap(); txtParams.put("bill_key", this.billKey); txtParams.put("charge_inst", this.chargeInst); txtParams.put("chargeoff_inst", this.chargeoffInst); txtParams.put("company_id", this.companyId); txtParams.put("extend", this.extend); txtParams.put("order_type", this.orderType); txtParams.put("sub_order_type", this.subOrderType); if(udfParams != null) { txtParams.putAll(this.udfParams); } return txtParams; } public void putOtherTextParam(String key, String value) { if(this.udfParams == null) { this.udfParams = new AlipayHashMap(); } this.udfParams.put(key, value); } public Class<AlipayEbppBillSearchResponse> getResponseClass() { return AlipayEbppBillSearchResponse.class; } public boolean isNeedEncrypt() { return this.needEncrypt; } public void setNeedEncrypt(boolean needEncrypt) { this.needEncrypt=needEncrypt; } public AlipayObject getBizModel() { return this.bizModel; } public void setBizModel(AlipayObject bizModel) { this.bizModel=bizModel; } }