lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.884 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.885

- old
+ new

@@ -330,14 +330,14 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type AllocationType: Integer attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :BusinessCodeName, :PayMode, :PayModeName, :ProjectId, :ProjectName, :RegionId, :RegionName, :ZoneId, :ZoneName, :ResourceId, :ResourceName, :InstanceType, :InstanceTypeName, :SplitItemId, :SplitItemName, :ProductCode, :ProductCodeName, :ActionType, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentCode, :ComponentCodeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :SplitRatio, :TotalCost, :RITimeSpan, :RICost, :SPCost, :Discount, :BlendedDiscount, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :Tag, :RegionType, :RegionTypeName, :ItemCode, :ItemCodeName, :AssociatedOrder, :PriceInfo, :Formula, :FormulaUrl, :RealTotalMeasure, :DeductedMeasure, :ComponentConfig, :AllocationType extend Gem::Deprecate - deprecate :SplitItemId, :none, 2024, 7 - deprecate :SplitItemId=, :none, 2024, 7 - deprecate :SplitItemName, :none, 2024, 7 - deprecate :SplitItemName=, :none, 2024, 7 + deprecate :SplitItemId, :none, 2024, 8 + deprecate :SplitItemId=, :none, 2024, 8 + deprecate :SplitItemName, :none, 2024, 8 + deprecate :SplitItemName=, :none, 2024, 8 def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, businesscodename=nil, paymode=nil, paymodename=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, resourceid=nil, resourcename=nil, instancetype=nil, instancetypename=nil, splititemid=nil, splititemname=nil, productcode=nil, productcodename=nil, actiontype=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentcode=nil, componentcodename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, splitratio=nil, totalcost=nil, ritimespan=nil, ricost=nil, spcost=nil, discount=nil, blendeddiscount=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, tag=nil, regiontype=nil, regiontypename=nil, itemcode=nil, itemcodename=nil, associatedorder=nil, priceinfo=nil, formula=nil, formulaurl=nil, realtotalmeasure=nil, deductedmeasure=nil, componentconfig=nil, allocationtype=nil) @TreeNodeUniqKey = treenodeuniqkey @TreeNodeUniqKeyName = treenodeuniqkeyname @BillDate = billdate @@ -1148,14 +1148,14 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ComponentConfig: String attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ItemCodeName, :ComponentCode, :ComponentCodeName, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :RealTotalMeasure, :DeductedMeasure, :Discount, :BlendedDiscount, :PriceInfo, :Formula, :FormulaUrl, :ComponentConfig extend Gem::Deprecate - deprecate :SplitItemId, :none, 2024, 7 - deprecate :SplitItemId=, :none, 2024, 7 - deprecate :SplitItemName, :none, 2024, 7 - deprecate :SplitItemName=, :none, 2024, 7 + deprecate :SplitItemId, :none, 2024, 8 + deprecate :SplitItemId=, :none, 2024, 8 + deprecate :SplitItemName, :none, 2024, 8 + deprecate :SplitItemName=, :none, 2024, 8 def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, itemcodename=nil, componentcode=nil, componentcodename=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, realtotalmeasure=nil, deductedmeasure=nil, discount=nil, blendeddiscount=nil, priceinfo=nil, formula=nil, formulaurl=nil, componentconfig=nil) @TreeNodeUniqKey = treenodeuniqkey @TreeNodeUniqKeyName = treenodeuniqkeyname @BillDate = billdate @@ -1423,14 +1423,14 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ComponentConfig: String attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :ComponentConfig extend Gem::Deprecate - deprecate :SplitItemId, :none, 2024, 7 - deprecate :SplitItemId=, :none, 2024, 7 - deprecate :SplitItemName, :none, 2024, 7 - deprecate :SplitItemName=, :none, 2024, 7 + deprecate :SplitItemId, :none, 2024, 8 + deprecate :SplitItemId=, :none, 2024, 8 + deprecate :SplitItemName, :none, 2024, 8 + deprecate :SplitItemName=, :none, 2024, 8 def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, componentconfig=nil) @TreeNodeUniqKey = treenodeuniqkey @TreeNodeUniqKeyName = treenodeuniqkeyname @BillDate = billdate @@ -2439,14 +2439,14 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ComponentConfig: Array attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :RealTotalMeasure, :DeductedMeasure, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount, :ComponentConfig extend Gem::Deprecate - deprecate :SpecifiedPrice, :none, 2024, 7 - deprecate :SpecifiedPrice=, :none, 2024, 7 - deprecate :SPDeduction, :none, 2024, 7 - deprecate :SPDeduction=, :none, 2024, 7 + deprecate :SpecifiedPrice, :none, 2024, 8 + deprecate :SpecifiedPrice=, :none, 2024, 8 + deprecate :SPDeduction, :none, 2024, 8 + deprecate :SPDeduction=, :none, 2024, 8 def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, realtotalmeasure=nil, deductedmeasure=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil, componentconfig=nil) @ComponentCodeName = componentcodename @ItemCodeName = itemcodename @SinglePrice = singleprice @@ -2624,12 +2624,12 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type BillMonth: String attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP, :BillMonth extend Gem::Deprecate - deprecate :SPDeduction, :none, 2024, 7 - deprecate :SPDeduction=, :none, 2024, 7 + deprecate :SPDeduction, :none, 2024, 8 + deprecate :SPDeduction=, :none, 2024, 8 def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil, billmonth=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @@ -2968,12 +2968,12 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type BillMonth: String attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP, :BillMonth extend Gem::Deprecate - deprecate :SPDeduction, :none, 2024, 7 - deprecate :SPDeduction=, :none, 2024, 7 + deprecate :SPDeduction, :none, 2024, 8 + deprecate :SPDeduction=, :none, 2024, 8 def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil, billmonth=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @@ -5283,12 +5283,12 @@ # @param SearchKey: 模糊搜索条件 # @type SearchKey: String attr_accessor :Limit, :Offset, :Month, :PeriodType, :TreeNodeUniqKeys, :SortType, :Sort, :BillDates, :BusinessCodes, :SearchKey extend Gem::Deprecate - deprecate :SearchKey, :none, 2024, 7 - deprecate :SearchKey=, :none, 2024, 7 + deprecate :SearchKey, :none, 2024, 8 + deprecate :SearchKey=, :none, 2024, 8 def initialize(limit=nil, offset=nil, month=nil, periodtype=nil, treenodeuniqkeys=nil, sorttype=nil, sort=nil, billdates=nil, businesscodes=nil, searchkey=nil) @Limit = limit @Offset = offset @Month = month @@ -5801,12 +5801,12 @@ # @param Context: 上一次请求返回的上下文信息,翻页查询Month>=2023-05的月份的数据可加快查询速度,数据量10万级别以上的用户建议使用,查询速度可提升2~10倍 # @type Context: String attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context extend Gem::Deprecate - deprecate :PeriodType, :none, 2024, 7 - deprecate :PeriodType=, :none, 2024, 7 + deprecate :PeriodType, :none, 2024, 8 + deprecate :PeriodType=, :none, 2024, 8 def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil) @Offset = offset @Limit = limit @PeriodType = periodtype @@ -5939,12 +5939,12 @@ # @param PayerUin: 支付者的账号 ID(账号 ID 是用户在腾讯云的唯一账号标识),默认查询本账号账单,如集团管理账号需查询成员账号自付的账单,该字段需入参成员账号UIN # @type PayerUin: String attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context, :PayerUin extend Gem::Deprecate - deprecate :PeriodType, :none, 2024, 7 - deprecate :PeriodType=, :none, 2024, 7 + deprecate :PeriodType, :none, 2024, 8 + deprecate :PeriodType=, :none, 2024, 8 def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil, payeruin=nil) @Offset = offset @Limit = limit @PeriodType = periodtype @@ -6264,12 +6264,12 @@ # (支持2021-01以后账单查询) # @type TagValue: String attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :TagKey, :TagValue extend Gem::Deprecate - deprecate :PeriodType, :none, 2024, 7 - deprecate :PeriodType=, :none, 2024, 7 + deprecate :PeriodType, :none, 2024, 8 + deprecate :PeriodType=, :none, 2024, 8 def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, tagkey=nil, tagvalue=nil) @Offset = offset @Limit = limit @Month = month @@ -6388,12 +6388,12 @@ # (支持2021-01以后账单查询) # @type TagValue: String attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :PayerUin, :TagKey, :TagValue extend Gem::Deprecate - deprecate :PeriodType, :none, 2024, 7 - deprecate :PeriodType=, :none, 2024, 7 + deprecate :PeriodType, :none, 2024, 8 + deprecate :PeriodType=, :none, 2024, 8 def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, payeruin=nil, tagkey=nil, tagvalue=nil) @Offset = offset @Limit = limit @Month = month @@ -8830,14 +8830,14 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type SplitItemName: String attr_accessor :PayerUin, :OwnerUin, :OperateUin, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :TreeNodeUniqKey, :TreeNodeUniqKeyName, :RuleId, :RuleName, :BusinessCode, :BusinessCodeName, :ItemCode, :ItemCodeName, :RegionId, :RegionName, :Tag, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :AllocationType, :BelongTreeNodeUniqKey, :BelongRule, :OtherTreeNodeUniqKeys, :OtherRules, :ProjectId, :ProjectName, :ProductCode, :ProductCodeName, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :SplitItemId, :SplitItemName extend Gem::Deprecate - deprecate :SplitItemId, :none, 2024, 7 - deprecate :SplitItemId=, :none, 2024, 7 - deprecate :SplitItemName, :none, 2024, 7 - deprecate :SplitItemName=, :none, 2024, 7 + deprecate :SplitItemId, :none, 2024, 8 + deprecate :SplitItemId=, :none, 2024, 8 + deprecate :SplitItemName, :none, 2024, 8 + deprecate :SplitItemName=, :none, 2024, 8 def initialize(payeruin=nil, owneruin=nil, operateuin=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, treenodeuniqkey=nil, treenodeuniqkeyname=nil, ruleid=nil, rulename=nil, businesscode=nil, businesscodename=nil, itemcode=nil, itemcodename=nil, regionid=nil, regionname=nil, tag=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, allocationtype=nil, belongtreenodeuniqkey=nil, belongrule=nil, othertreenodeuniqkeys=nil, otherrules=nil, projectid=nil, projectname=nil, productcode=nil, productcodename=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, splititemid=nil, splititemname=nil) @PayerUin = payeruin @OwnerUin = owneruin @OperateUin = operateuin @@ -9551,21 +9551,61 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProductName: String # @param SubProductName: 商品细节 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubProductName: String + # @param ProductCode: 产品码 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ProductCode: String + # @param SubProductCode: 子产品码 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SubProductCode: String + # @param BillingItemCode: 计费项码 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BillingItemCode: String + # @param SubBillingItemCode: 计费细项码 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SubBillingItemCode: String + # @param ProductEnName: 产品英文名 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ProductEnName: String + # @param SubProductEnName: 子产品英文名 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SubProductEnName: String + # @param CalcUnit: 结算周期 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type CalcUnit: String + # @param Action: payMode为prepay 且 payScene为common的情况下存在 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Action: String - attr_accessor :ProductName, :SubProductName + attr_accessor :ProductName, :SubProductName, :ProductCode, :SubProductCode, :BillingItemCode, :SubBillingItemCode, :ProductEnName, :SubProductEnName, :CalcUnit, :Action - def initialize(productname=nil, subproductname=nil) + def initialize(productname=nil, subproductname=nil, productcode=nil, subproductcode=nil, billingitemcode=nil, subbillingitemcode=nil, productenname=nil, subproductenname=nil, calcunit=nil, action=nil) @ProductName = productname @SubProductName = subproductname + @ProductCode = productcode + @SubProductCode = subproductcode + @BillingItemCode = billingitemcode + @SubBillingItemCode = subbillingitemcode + @ProductEnName = productenname + @SubProductEnName = subproductenname + @CalcUnit = calcunit + @Action = action end def deserialize(params) @ProductName = params['ProductName'] @SubProductName = params['SubProductName'] + @ProductCode = params['ProductCode'] + @SubProductCode = params['SubProductCode'] + @BillingItemCode = params['BillingItemCode'] + @SubBillingItemCode = params['SubBillingItemCode'] + @ProductEnName = params['ProductEnName'] + @SubProductEnName = params['SubProductEnName'] + @CalcUnit = params['CalcUnit'] + @Action = params['Action'] end end # 使用记录 class UsageRecords < TencentCloud::Common::AbstractModel @@ -9574,17 +9614,32 @@ # @param UsedTime: 使用时间 # @type UsedTime: String # @param UsageDetails: 使用记录细节 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UsageDetails: Array + # @param PayMode: 付费模式 + # @type PayMode: String + # @param VoucherId: 查询的券id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type VoucherId: String + # @param PayScene: 交易场景:(adjust:调账、common:正常交易场景) + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type PayScene: String + # @param SeqId: 唯一id,对应交易:预付费的dealName,调账/后付费的outTradeNo + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SeqId: String - attr_accessor :UsedAmount, :UsedTime, :UsageDetails + attr_accessor :UsedAmount, :UsedTime, :UsageDetails, :PayMode, :VoucherId, :PayScene, :SeqId - def initialize(usedamount=nil, usedtime=nil, usagedetails=nil) + def initialize(usedamount=nil, usedtime=nil, usagedetails=nil, paymode=nil, voucherid=nil, payscene=nil, seqid=nil) @UsedAmount = usedamount @UsedTime = usedtime @UsageDetails = usagedetails + @PayMode = paymode + @VoucherId = voucherid + @PayScene = payscene + @SeqId = seqid end def deserialize(params) @UsedAmount = params['UsedAmount'] @UsedTime = params['UsedTime'] @@ -9594,9 +9649,13 @@ usagedetails_tmp = UsageDetails.new usagedetails_tmp.deserialize(i) @UsageDetails << usagedetails_tmp end end + @PayMode = params['PayMode'] + @VoucherId = params['VoucherId'] + @PayScene = params['PayScene'] + @SeqId = params['SeqId'] end end # 代金券相关信息 class VoucherInfos < TencentCloud::Common::AbstractModel