lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.682 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.683

- old
+ new

@@ -3884,14 +3884,18 @@ # @type PayMode: String # @param PayScene: 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景 # @type PayScene: String # @param Operator: 操作人,默认就是用户uin # @type Operator: String + # @param VoucherMainType: 代金券主类型 has_price 为有价现金券 no_price 为无价代金券 + # @type VoucherMainType: String + # @param VoucherSubType: 代金券副类型 discount 为折扣券 deduct 为抵扣券 + # @type VoucherSubType: String - attr_accessor :Limit, :Offset, :Status, :VoucherId, :CodeId, :ProductCode, :ActivityId, :VoucherName, :TimeFrom, :TimeTo, :SortField, :SortOrder, :PayMode, :PayScene, :Operator + attr_accessor :Limit, :Offset, :Status, :VoucherId, :CodeId, :ProductCode, :ActivityId, :VoucherName, :TimeFrom, :TimeTo, :SortField, :SortOrder, :PayMode, :PayScene, :Operator, :VoucherMainType, :VoucherSubType - def initialize(limit=nil, offset=nil, status=nil, voucherid=nil, codeid=nil, productcode=nil, activityid=nil, vouchername=nil, timefrom=nil, timeto=nil, sortfield=nil, sortorder=nil, paymode=nil, payscene=nil, operator=nil) + def initialize(limit=nil, offset=nil, status=nil, voucherid=nil, codeid=nil, productcode=nil, activityid=nil, vouchername=nil, timefrom=nil, timeto=nil, sortfield=nil, sortorder=nil, paymode=nil, payscene=nil, operator=nil, vouchermaintype=nil, vouchersubtype=nil) @Limit = limit @Offset = offset @Status = status @VoucherId = voucherid @CodeId = codeid @@ -3903,10 +3907,12 @@ @SortField = sortfield @SortOrder = sortorder @PayMode = paymode @PayScene = payscene @Operator = operator + @VoucherMainType = vouchermaintype + @VoucherSubType = vouchersubtype end def deserialize(params) @Limit = params['Limit'] @Offset = params['Offset'] @@ -3921,9 +3927,11 @@ @SortField = params['SortField'] @SortOrder = params['SortOrder'] @PayMode = params['PayMode'] @PayScene = params['PayScene'] @Operator = params['Operator'] + @VoucherMainType = params['VoucherMainType'] + @VoucherSubType = params['VoucherSubType'] end end # DescribeVoucherInfo返回参数结构体 class DescribeVoucherInfoResponse < TencentCloud::Common::AbstractModel