com.alipay.api.domain.AlipayOfflineMarketShopDiscountQueryModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk-java Show documentation
Show all versions of alipay-sdk-java Show documentation
Alipay openapi SDK for Java
Copyright © 2018 杭州蚂蚁金服
All rights reserved.
版权所有 (C)杭州蚂蚁金服
http://open.alipay.com
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 基于门店id的优惠查询服务
*
* @author auto create
* @since 1.0, 2024-07-04 17:01:00
*/
public class AlipayOfflineMarketShopDiscountQueryModel extends AlipayObject {
private static final long serialVersionUID = 6189486316577147168L;
/**
* 活动业务类型列表。当 query_type 为MERCHANT 且 user_id 不为空时生效,将对返回结果进行过滤,返回列表中指定业务类型的活动。默认为空,代表不过滤,返回所有活动。
支持过滤的业务类型如下:
* CONSUME_SEND:消费送;
* MRT_DISCOUNT:商户立减;
* OBTAIN:通用领券。
*/
@ApiListField("camp_biz_type_list")
@ApiField("string")
private List campBizTypeList;
/**
* 用户id,当query_type为MERCHANT时生效,如果查询的优惠活动需要过用户规则,则用户id必须传入,目前只支持查询活动列表的场景;
*/
@ApiField("open_id")
private String openId;
/**
* 查询类型,暂仅支持:MERCHANT(商户活动)。 如果不传递该参数或者指定参数值,出参只返回item_list,discount_list, 反之返回camp_num,camp_list。
*/
@ApiField("query_type")
private String queryType;
/**
* 门店id。
注意:必须传递 isv 授权商户下的门店,否则无权限查询。
*/
@ApiField("shop_id")
private String shopId;
/**
* 用户id,当query_type为MERCHANT时生效,如果查询的优惠活动需要过用户规则,则用户id必须传入,目前只支持查询活动列表的场景;
*/
@ApiField("user_id")
private String userId;
public List getCampBizTypeList() {
return this.campBizTypeList;
}
public void setCampBizTypeList(List campBizTypeList) {
this.campBizTypeList = campBizTypeList;
}
public String getOpenId() {
return this.openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getQueryType() {
return this.queryType;
}
public void setQueryType(String queryType) {
this.queryType = queryType;
}
public String getShopId() {
return this.shopId;
}
public void setShopId(String shopId) {
this.shopId = shopId;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy