@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherUseRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherUseRule.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AVAILABLE_APP_IDS |
static String |
SERIALIZED_NAME_AVAILABLE_GOODS |
static String |
SERIALIZED_NAME_AVAILABLE_MERCHANT |
static String |
SERIALIZED_NAME_AVAILABLE_STORE_IDS |
static String |
SERIALIZED_NAME_FIX_VOUCHER |
static String |
SERIALIZED_NAME_UNAVAILABLE_GOODS_IDS |
static String |
SERIALIZED_NAME_USE_MODE |
static String |
SERIALIZED_NAME_USE_URL |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER_PERIOD_TYPE |
static String |
SERIALIZED_NAME_VOUCHER_VALID_PERIOD |
| 构造器和说明 |
|---|
PaymentVoucherUseRule() |
public static final String SERIALIZED_NAME_AVAILABLE_APP_IDS
public static final String SERIALIZED_NAME_AVAILABLE_GOODS
public static final String SERIALIZED_NAME_AVAILABLE_MERCHANT
public static final String SERIALIZED_NAME_AVAILABLE_STORE_IDS
public static final String SERIALIZED_NAME_UNAVAILABLE_GOODS_IDS
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER_PERIOD_TYPE
public static final String SERIALIZED_NAME_VOUCHER_VALID_PERIOD
public PaymentVoucherUseRule availableAppIds(List<String> availableAppIds)
public PaymentVoucherUseRule addAvailableAppIdsItem(String availableAppIdsItem)
@Nullable public List<String> getAvailableAppIds()
public PaymentVoucherUseRule availableGoods(PaymentVoucherAvailableGoods availableGoods)
@Nullable public PaymentVoucherAvailableGoods getAvailableGoods()
public void setAvailableGoods(PaymentVoucherAvailableGoods availableGoods)
public PaymentVoucherUseRule availableMerchant(PaymentVoucherAvailableMerchant availableMerchant)
@Nullable public PaymentVoucherAvailableMerchant getAvailableMerchant()
public void setAvailableMerchant(PaymentVoucherAvailableMerchant availableMerchant)
public PaymentVoucherUseRule availableStoreIds(List<String> availableStoreIds)
public PaymentVoucherUseRule addAvailableStoreIdsItem(String availableStoreIdsItem)
@Nullable public List<String> getAvailableStoreIds()
public PaymentVoucherUseRule fixVoucher(PaymentFixVoucher fixVoucher)
@Nullable public PaymentFixVoucher getFixVoucher()
public void setFixVoucher(PaymentFixVoucher fixVoucher)
public PaymentVoucherUseRule unavailableGoodsIds(List<String> unavailableGoodsIds)
public PaymentVoucherUseRule addUnavailableGoodsIdsItem(String unavailableGoodsIdsItem)
@Nullable public List<String> getUnavailableGoodsIds()
public PaymentVoucherUseRule useMode(String useMode)
public void setUseMode(String useMode)
public PaymentVoucherUseRule useUrl(String useUrl)
@Nullable public String getUseUrl()
public void setUseUrl(String useUrl)
public PaymentVoucherUseRule voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
@Nullable public Integer getVoucherQuantityLimitPerUser()
public void setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
public PaymentVoucherUseRule voucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
@Nullable public String getVoucherQuantityLimitPerUserPeriodType()
public void setVoucherQuantityLimitPerUserPeriodType(String voucherQuantityLimitPerUserPeriodType)
public PaymentVoucherUseRule voucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod)
@Nullable public PaymentVoucherValidPeriod getVoucherValidPeriod()
public void setVoucherValidPeriod(PaymentVoucherValidPeriod voucherValidPeriod)
public PaymentVoucherUseRule putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to PaymentVoucherUseRulepublic static PaymentVoucherUseRule fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherUseRulepublic String toJson()
Copyright © 2024. All rights reserved.