public class BonusInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BonusInfo() | 
| BonusInfo(BonusInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getBonusId()Get 资源包ID | 
| Long | getCreateTime()Get 资源包创建时间 | 
| Long | getExpireTime()Get 资源包过期时间 | 
| String | getPackageId()Get 资源包配置ID | 
| Long | getStatus()Get 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getTotal()Get 资源总数 | 
| Long | getUsed()Get 资源消耗总数 | 
| String | getUserId()Get 用户ID | 
| void | setBonusId(Long BonusId)Set 资源包ID | 
| void | setCreateTime(Long CreateTime)Set 资源包创建时间 | 
| void | setExpireTime(Long ExpireTime)Set 资源包过期时间 | 
| void | setPackageId(String PackageId)Set 资源包配置ID | 
| void | setStatus(Long Status)Set 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTotal(Long Total)Set 资源总数 | 
| void | setUsed(Long Used)Set 资源消耗总数 | 
| void | setUserId(String UserId)Set 用户ID | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BonusInfo()
public BonusInfo(BonusInfo source)
public Long getBonusId()
public void setBonusId(Long BonusId)
BonusId - 资源包IDpublic String getUserId()
public void setUserId(String UserId)
UserId - 用户IDpublic String getPackageId()
public void setPackageId(String PackageId)
PackageId - 资源包配置IDpublic Long getTotal()
public void setTotal(Long Total)
Total - 资源总数public Long getUsed()
public void setUsed(Long Used)
Used - 资源消耗总数public Long getExpireTime()
public void setExpireTime(Long ExpireTime)
ExpireTime - 资源包过期时间public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - 资源包创建时间public Long getStatus()
public void setStatus(Long Status)
Status - 资源包状态 0.未使用 1.使用中 2.已退款 3.已过期
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.