All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eleme.openapi.sdk.api.entity.activity.SkuActivityContent Maven / Gradle / Ivy

There is a newer version: 1.30.71
Show newest version
package eleme.openapi.sdk.api.entity.activity;

import eleme.openapi.sdk.api.enumeration.activity.*;
import eleme.openapi.sdk.api.entity.activity.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;

public class SkuActivityContent{

    /**
     * 活动id,来自创建商品活动后返回的参数
     */
    private String activityId;
    public String getActivityId() {
        return activityId;
    }
    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    
    /**
     * 商品id
     */
    private String foodId;
    public String getFoodId() {
        return foodId;
    }
    public void setFoodId(String foodId) {
        this.foodId = foodId;
    }
    
    /**
     * 适用人群,范围是"SUPER_VIP","ALL_CUSTOM","NEW_CUSTOMER",目前仅支持一个活动一个适用人群
     */
    private List userType;
    public List getUserType() {
        return userType;
    }
    public void setUserType(List userType) {
        this.userType = userType;
    }
    
    /**
     * 优惠类型,范围是"DISCOUNT","SPECIAL"
     */
    private String benefitType;
    public String getBenefitType() {
        return benefitType;
    }
    public void setBenefitType(String benefitType) {
        this.benefitType = benefitType;
    }
    
    /**
     * 优惠内容
     */
    private String benefitContent;
    public String getBenefitContent() {
        return benefitContent;
    }
    public void setBenefitContent(String benefitContent) {
        this.benefitContent = benefitContent;
    }
    
    /**
     * 第几件优惠
     */
    private Integer nthCount;
    public Integer getNthCount() {
        return nthCount;
    }
    public void setNthCount(Integer nthCount) {
        this.nthCount = nthCount;
    }
    
    /**
     * 每单限购值,每单最多可以享受几份该商品
     */
    private Integer orderLimit;
    public Integer getOrderLimit() {
        return orderLimit;
    }
    public void setOrderLimit(Integer orderLimit) {
        this.orderLimit = orderLimit;
    }
    
    /**
     * 每日活动库存
     */
    private Integer dayLimit;
    public Integer getDayLimit() {
        return dayLimit;
    }
    public void setDayLimit(Integer dayLimit) {
        this.dayLimit = dayLimit;
    }
    
    /**
     * 活动日期
     */
    private ActivityDateTime activityTime;
    public ActivityDateTime getActivityTime() {
        return activityTime;
    }
    public void setActivityTime(ActivityDateTime activityTime) {
        this.activityTime = activityTime;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy