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

com.wechat.pay.java.service.retailstore.model.ActRule Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 营销加价购对外API
//
// 指定服务商可通过该接口报名加价购活动、查询某个区域内的加价购活动列表、锁定加价活动购资格以及解锁加价购活动资格。
//
// API version: 1.4.0

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.

package com.wechat.pay.java.service.retailstore.model;

import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/** ActRule */
public class ActRule {
  /** 购买单件商品,补贴给门店的金额 说明:购买单件商品,补贴给门店的金额(单位:分) */
  @SerializedName("store_subsidy")
  private Long storeSubsidy;

  /** 购买单件商品,补贴给服务商的佣金 说明:购买单件商品,补贴给服务商的佣金(单位:分) */
  @SerializedName("service_provider_subsidy")
  private Long serviceProviderSubsidy;

  /** 活动门店补贴商品数上限 说明:活动门店补贴商品数上限 */
  @SerializedName("store_subsidy_quota")
  private Integer storeSubsidyQuota;

  /** 单用户享受加价购优惠次数上限 说明:单用户享受加价购优惠次数上限 */
  @SerializedName("user_subsidy_quota")
  private Integer userSubsidyQuota;

  /** 活动区域列表 说明:活动区域列表 */
  @SerializedName("areas")
  private List areas;

  public Long getStoreSubsidy() {
    return storeSubsidy;
  }

  public void setStoreSubsidy(Long storeSubsidy) {
    this.storeSubsidy = storeSubsidy;
  }

  public Long getServiceProviderSubsidy() {
    return serviceProviderSubsidy;
  }

  public void setServiceProviderSubsidy(Long serviceProviderSubsidy) {
    this.serviceProviderSubsidy = serviceProviderSubsidy;
  }

  public Integer getStoreSubsidyQuota() {
    return storeSubsidyQuota;
  }

  public void setStoreSubsidyQuota(Integer storeSubsidyQuota) {
    this.storeSubsidyQuota = storeSubsidyQuota;
  }

  public Integer getUserSubsidyQuota() {
    return userSubsidyQuota;
  }

  public void setUserSubsidyQuota(Integer userSubsidyQuota) {
    this.userSubsidyQuota = userSubsidyQuota;
  }

  public List getAreas() {
    return areas;
  }

  public void setAreas(List areas) {
    this.areas = areas;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ActRule {\n");
    sb.append("    storeSubsidy: ").append(toIndentedString(storeSubsidy)).append("\n");
    sb.append("    serviceProviderSubsidy: ")
        .append(toIndentedString(serviceProviderSubsidy))
        .append("\n");
    sb.append("    storeSubsidyQuota: ").append(toIndentedString(storeSubsidyQuota)).append("\n");
    sb.append("    userSubsidyQuota: ").append(toIndentedString(userSubsidyQuota)).append("\n");
    sb.append("    areas: ").append(toIndentedString(areas)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy