com.alipay.api.request.AlipayOfflineMarketShopPublicBindRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk Show documentation
Show all versions of alipay-sdk Show documentation
alipay-sdk project for Spring Project
The newest version!
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.AlipayOfflineMarketShopPublicBindResponse;
import com.alipay.api.AlipayObject;
/**
* ALIPAY API: alipay.offline.market.shop.public.bind request
*
* @author auto create
* @since 1.0, 2016-07-29 19:57:30
*/
public class AlipayOfflineMarketShopPublicBindRequest implements AlipayRequest {
private AlipayHashMap udfParams; // add user-defined text parameters
private String apiVersion="1.0";
/**
* 是否绑定所有门店,T表示绑定所有门店,F表示绑定指定shop_ids的门店
*/
private String isAll;
/**
* 门店ID列表,一次最多绑定500个门店,is_all为T时表示绑定本商家下所有门店,即门店列表无需通过本参数shop_ids传入,由系统自动查询;is_all为F时该参数为必填
*/
private String shopIds;
public void setIsAll(String isAll) {
this.isAll = isAll;
}
public String getIsAll() {
return this.isAll;
}
public void setShopIds(String shopIds) {
this.shopIds = shopIds;
}
public String getShopIds() {
return this.shopIds;
}
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.offline.market.shop.public.bind";
}
public Map getTextParams() {
AlipayHashMap txtParams = new AlipayHashMap();
txtParams.put("is_all", this.isAll);
txtParams.put("shop_ids", this.shopIds);
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 getResponseClass() {
return AlipayOfflineMarketShopPublicBindResponse.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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy