Class VoucherInfos
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.billing.v20180709.models.VoucherInfos
-
public class VoucherInfos extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VoucherInfos()
VoucherInfos(VoucherInfos 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicableProducts
getApplicableProducts()
Get 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。Long
getBalance()
Get 剩余金额(微分)String
getBeginTime()
Get 有效期生效时间String
getEndTime()
Get 有效期截止时间ExcludedProducts[]
getExcludedProducts()
Get 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。Long
getNominalValue()
Get 代金券面额(微分)String
getOwnerUin()
Get 代金券拥有者String
getPayMode()
Get postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式String
getPayScene()
Get 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景String
getStatus()
Get 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdueString
getVoucherId()
Get 代金券idvoid
setApplicableProducts(ApplicableProducts ApplicableProducts)
Set 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。void
setBalance(Long Balance)
Set 剩余金额(微分)void
setBeginTime(String BeginTime)
Set 有效期生效时间void
setEndTime(String EndTime)
Set 有效期截止时间void
setExcludedProducts(ExcludedProducts[] ExcludedProducts)
Set 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。void
setNominalValue(Long NominalValue)
Set 代金券面额(微分)void
setOwnerUin(String OwnerUin)
Set 代金券拥有者void
setPayMode(String PayMode)
Set postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式void
setPayScene(String PayScene)
Set 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景void
setStatus(String Status)
Set 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overduevoid
setVoucherId(String VoucherId)
Set 代金券idvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
VoucherInfos
public VoucherInfos()
-
VoucherInfos
public VoucherInfos(VoucherInfos 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.
-
-
Method Detail
-
getOwnerUin
public String getOwnerUin()
Get 代金券拥有者- Returns:
- OwnerUin 代金券拥有者
-
setOwnerUin
public void setOwnerUin(String OwnerUin)
Set 代金券拥有者- Parameters:
OwnerUin
- 代金券拥有者
-
getStatus
public String getStatus()
Get 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue- Returns:
- Status 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
-
setStatus
public void setStatus(String Status)
Set 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue- Parameters:
Status
- 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
-
getNominalValue
public Long getNominalValue()
Get 代金券面额(微分)- Returns:
- NominalValue 代金券面额(微分)
-
setNominalValue
public void setNominalValue(Long NominalValue)
Set 代金券面额(微分)- Parameters:
NominalValue
- 代金券面额(微分)
-
getBalance
public Long getBalance()
Get 剩余金额(微分)- Returns:
- Balance 剩余金额(微分)
-
setBalance
public void setBalance(Long Balance)
Set 剩余金额(微分)- Parameters:
Balance
- 剩余金额(微分)
-
getVoucherId
public String getVoucherId()
Get 代金券id- Returns:
- VoucherId 代金券id
-
setVoucherId
public void setVoucherId(String VoucherId)
Set 代金券id- Parameters:
VoucherId
- 代金券id
-
getPayMode
public String getPayMode()
Get postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式- Returns:
- PayMode postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
-
setPayMode
public void setPayMode(String PayMode)
Set postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式- Parameters:
PayMode
- postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
-
getPayScene
public String getPayScene()
Get 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景- Returns:
- PayScene 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
-
setPayScene
public void setPayScene(String PayScene)
Set 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景- Parameters:
PayScene
- 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
-
getBeginTime
public String getBeginTime()
Get 有效期生效时间- Returns:
- BeginTime 有效期生效时间
-
setBeginTime
public void setBeginTime(String BeginTime)
Set 有效期生效时间- Parameters:
BeginTime
- 有效期生效时间
-
getEndTime
public String getEndTime()
Get 有效期截止时间- Returns:
- EndTime 有效期截止时间
-
setEndTime
public void setEndTime(String EndTime)
Set 有效期截止时间- Parameters:
EndTime
- 有效期截止时间
-
getApplicableProducts
public ApplicableProducts getApplicableProducts()
Get 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ApplicableProducts 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。
-
setApplicableProducts
public void setApplicableProducts(ApplicableProducts ApplicableProducts)
Set 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ApplicableProducts
- 适用商品信息 注意:此字段可能返回 null,表示取不到有效值。
-
getExcludedProducts
public ExcludedProducts[] getExcludedProducts()
Get 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExcludedProducts 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。
-
setExcludedProducts
public void setExcludedProducts(ExcludedProducts[] ExcludedProducts)
Set 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExcludedProducts
- 不适用商品信息 注意:此字段可能返回 null,表示取不到有效值。
-
-