@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class BenefitInfoDetail extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BenefitInfoDetail.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_BENEFIT_TYPE |
static String |
SERIALIZED_NAME_COUNT |
static String |
SERIALIZED_NAME_DESCRIPTION |
| 构造器和说明 |
|---|
BenefitInfoDetail() |
| 限定符和类型 | 方法和说明 |
|---|---|
BenefitInfoDetail |
amount(String amount) |
BenefitInfoDetail |
benefitType(String benefitType) |
BenefitInfoDetail |
count(String count) |
BenefitInfoDetail |
description(String description) |
boolean |
equals(Object o) |
static BenefitInfoDetail |
fromJson(String jsonString)
Create an instance of BenefitInfoDetail 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 |
getAmount()
PRE_FUND:实际核销或者商户赠送的金额 DISCOUNT:实际折扣掉的金额(获取权益不支持该类型) COUPON:实际核销或者商户赠送的券
|
String |
getBenefitType()
权益类型
|
String |
getCount()
COUPON:当核销或者赠送券时,可以设置该值
|
String |
getDescription()
产生核销或者赠送权益的描述
|
int |
hashCode() |
BenefitInfoDetail |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAmount(String amount) |
void |
setBenefitType(String benefitType) |
void |
setCount(String count) |
void |
setDescription(String description) |
String |
toJson()
Convert an instance of BenefitInfoDetail to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public BenefitInfoDetail amount(String amount)
@Nullable public String getAmount()
public void setAmount(String amount)
public BenefitInfoDetail benefitType(String benefitType)
public void setBenefitType(String benefitType)
public BenefitInfoDetail count(String count)
public void setCount(String count)
public BenefitInfoDetail description(String description)
public void setDescription(String description)
public BenefitInfoDetail 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 BenefitInfoDetailpublic static BenefitInfoDetail fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to BenefitInfoDetailpublic String toJson()
Copyright © 2024. All rights reserved.