com.alipay.api.domain.UseRule 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;
/**
* 券的使用规则信息
*
* @author auto create
* @since 1.0, 2019-06-25 19:47:04
*/
public class UseRule extends AlipayObject {
private static final long serialVersionUID = 3124869142278782138L;
/**
* 扩展属性,无需设置
*/
@ApiField("ext_info")
private String extInfo;
/**
* 券的不可用时间
*/
@ApiField("forbidden_time")
private ForbbidenTime forbiddenTime;
/**
* 优惠券的使用支付渠道限制规
则,
不受支付渠道限制
:USE_NO_LIMIT;
仅限口碑储值卡支付时可用
:USE_ON_CURRENT_PAY_C
HANNEL;
口碑储值卡支付时不可用
:NOT_ALLOWED_USE;
【备注】支付渠道限制不允许修改
*/
@ApiField("limit_rule")
private String limitRule;
/**
* 券核销的最低消费门槛,单位元
*/
@ApiField("min_consume")
private String minConsume;
/**
* 券买单跳转链接
*/
@ApiField("pay_redirect_url")
private String payRedirectUrl;
/**
* 券适用门店列表
仅品牌商发起的招商活动可为空
直发奖类型活动必须与活动适用门店一致
最多支持10w家门店
*/
@ApiListField("suit_shops")
@ApiField("string")
private List suitShops;
/**
* 券可用时间段
*/
@ApiListField("use_time")
@ApiField("use_time")
private List useTime;
public String getExtInfo() {
return this.extInfo;
}
public void setExtInfo(String extInfo) {
this.extInfo = extInfo;
}
public ForbbidenTime getForbiddenTime() {
return this.forbiddenTime;
}
public void setForbiddenTime(ForbbidenTime forbiddenTime) {
this.forbiddenTime = forbiddenTime;
}
public String getLimitRule() {
return this.limitRule;
}
public void setLimitRule(String limitRule) {
this.limitRule = limitRule;
}
public String getMinConsume() {
return this.minConsume;
}
public void setMinConsume(String minConsume) {
this.minConsume = minConsume;
}
public String getPayRedirectUrl() {
return this.payRedirectUrl;
}
public void setPayRedirectUrl(String payRedirectUrl) {
this.payRedirectUrl = payRedirectUrl;
}
public List getSuitShops() {
return this.suitShops;
}
public void setSuitShops(List suitShops) {
this.suitShops = suitShops;
}
public List getUseTime() {
return this.useTime;
}
public void setUseTime(List useTime) {
this.useTime = useTime;
}
}