@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PeriodRuleParams extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PeriodRuleParams.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EXECUTE_TIME |
static String |
SERIALIZED_NAME_PERIOD |
static String |
SERIALIZED_NAME_PERIOD_TYPE |
static String |
SERIALIZED_NAME_SINGLE_AMOUNT |
static String |
SERIALIZED_NAME_TOTAL_AMOUNT |
static String |
SERIALIZED_NAME_TOTAL_PAYMENTS |
| 构造器和说明 |
|---|
PeriodRuleParams() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
PeriodRuleParams |
executeTime(String executeTime) |
static PeriodRuleParams |
fromJson(String jsonString)
Create an instance of PeriodRuleParams given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getExecuteTime()
首次执行时间execute_time是周期扣款产品必填,即商户发起首次扣款的时间。
|
Integer |
getPeriod()
周期数period是周期扣款产品必填。
|
String |
getPeriodType()
周期类型period_type是周期扣款产品必填,枚举值为DAY和MONTH。
|
String |
getSingleAmount()
单次扣款最大金额single_amount是周期扣款产品必填,即每次发起扣款时限制的最大金额,单位为元。
|
String |
getTotalAmount()
总金额限制,单位为元。
|
Integer |
getTotalPayments()
总扣款次数。
|
int |
hashCode() |
PeriodRuleParams |
period(Integer period) |
PeriodRuleParams |
periodType(String periodType) |
PeriodRuleParams |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setExecuteTime(String executeTime) |
void |
setPeriod(Integer period) |
void |
setPeriodType(String periodType) |
void |
setSingleAmount(String singleAmount) |
void |
setTotalAmount(String totalAmount) |
void |
setTotalPayments(Integer totalPayments) |
PeriodRuleParams |
singleAmount(String singleAmount) |
String |
toJson()
Convert an instance of PeriodRuleParams to an JSON string
|
String |
toString() |
PeriodRuleParams |
totalAmount(String totalAmount) |
PeriodRuleParams |
totalPayments(Integer totalPayments) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_TOTAL_PAYMENTS
public PeriodRuleParams executeTime(String executeTime)
@Nullable public String getExecuteTime()
public void setExecuteTime(String executeTime)
public PeriodRuleParams period(Integer period)
@Nullable public Integer getPeriod()
public void setPeriod(Integer period)
public PeriodRuleParams periodType(String periodType)
@Nullable public String getPeriodType()
public void setPeriodType(String periodType)
public PeriodRuleParams singleAmount(String singleAmount)
@Nullable public String getSingleAmount()
public void setSingleAmount(String singleAmount)
public PeriodRuleParams totalAmount(String totalAmount)
@Nullable public String getTotalAmount()
public void setTotalAmount(String totalAmount)
public PeriodRuleParams totalPayments(Integer totalPayments)
@Nullable public Integer getTotalPayments()
public void setTotalPayments(Integer totalPayments)
public PeriodRuleParams 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 PeriodRuleParamspublic static PeriodRuleParams fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PeriodRuleParamspublic String toJson()
Copyright © 2024. All rights reserved.