lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.716 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.717

- old
+ new

@@ -155,14 +155,20 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Formula: String # @param FormulaUrl: 计费规则:各产品详细的计费规则官网说明链接 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FormulaUrl: String + # @param BillDay: 账单归属日 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BillDay: String + # @param BillMonth: 账单归属月 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BillMonth: String - attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :PayerUin, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo, :AssociatedOrder, :Formula, :FormulaUrl + attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :PayerUin, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo, :AssociatedOrder, :Formula, :FormulaUrl, :BillDay, :BillMonth - def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, payeruin=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil, associatedorder=nil, formula=nil, formulaurl=nil) + def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, payeruin=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil, associatedorder=nil, formula=nil, formulaurl=nil, billday=nil, billmonth=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @ProjectName = projectname @RegionName = regionname @@ -187,10 +193,12 @@ @ProjectId = projectid @PriceInfo = priceinfo @AssociatedOrder = associatedorder @Formula = formula @FormulaUrl = formulaurl + @BillDay = billday + @BillMonth = billmonth end def deserialize(params) @BusinessCodeName = params['BusinessCodeName'] @ProductCodeName = params['ProductCodeName'] @@ -235,10 +243,12 @@ @AssociatedOrder = BillDetailAssociatedOrder.new @AssociatedOrder.deserialize(params['AssociatedOrder']) end @Formula = params['Formula'] @FormulaUrl = params['FormulaUrl'] + @BillDay = params['BillDay'] + @BillMonth = params['BillMonth'] end end # 明细账单关联单据信息 class BillDetailAssociatedOrder < TencentCloud::Common::AbstractModel @@ -359,14 +369,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, 2023, 11 - deprecate :SpecifiedPrice=, :none, 2023, 11 - deprecate :SPDeduction, :none, 2023, 11 - deprecate :SPDeduction=, :none, 2023, 11 + deprecate :SpecifiedPrice, :none, 2023, 12 + deprecate :SpecifiedPrice=, :none, 2023, 12 + deprecate :SPDeduction, :none, 2023, 12 + deprecate :SPDeduction=, :none, 2023, 12 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 @@ -538,17 +548,20 @@ # @type OriginalCostWithRI: String # @param SPDeduction: 节省计划抵扣金额(已废弃) # @type SPDeduction: String # @param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率 # @type OriginalCostWithSP: String + # @param BillMonth: 账单归属月 + # 注意:此字段可能返回 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 + 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, 2023, 11 - deprecate :SPDeduction=, :none, 2023, 11 + deprecate :SPDeduction, :none, 2023, 12 + deprecate :SPDeduction=, :none, 2023, 12 - 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) + 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 @ProjectName = projectname @RegionName = regionname @@ -582,10 +595,11 @@ @RegionId = regionid @InstanceType = instancetype @OriginalCostWithRI = originalcostwithri @SPDeduction = spdeduction @OriginalCostWithSP = originalcostwithsp + @BillMonth = billmonth end def deserialize(params) @BusinessCodeName = params['BusinessCodeName'] @ProductCodeName = params['ProductCodeName'] @@ -629,10 +643,11 @@ @RegionId = params['RegionId'] @InstanceType = params['InstanceType'] @OriginalCostWithRI = params['OriginalCostWithRI'] @SPDeduction = params['SPDeduction'] @OriginalCostWithSP = params['OriginalCostWithSP'] + @BillMonth = params['BillMonth'] end end # 账单资源汇总数据对象 class BillResourceSummary < TencentCloud::Common::AbstractModel @@ -712,17 +727,20 @@ # @type OriginalCostWithRI: String # @param SPDeduction: 节省计划抵扣金额(已废弃) # @type SPDeduction: String # @param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率 # @type OriginalCostWithSP: String + # @param BillMonth: 账单归属月 + # 注意:此字段可能返回 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 + 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, 2023, 11 - deprecate :SPDeduction=, :none, 2023, 11 + deprecate :SPDeduction, :none, 2023, 12 + deprecate :SPDeduction=, :none, 2023, 12 - 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) + 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 @ProjectName = projectname @RegionName = regionname @@ -757,10 +775,11 @@ @RegionId = regionid @InstanceType = instancetype @OriginalCostWithRI = originalcostwithri @SPDeduction = spdeduction @OriginalCostWithSP = originalcostwithsp + @BillMonth = billmonth end def deserialize(params) @BusinessCodeName = params['BusinessCodeName'] @ProductCodeName = params['ProductCodeName'] @@ -805,10 +824,11 @@ @RegionId = params['RegionId'] @InstanceType = params['InstanceType'] @OriginalCostWithRI = params['OriginalCostWithRI'] @SPDeduction = params['SPDeduction'] @OriginalCostWithSP = params['OriginalCostWithSP'] + @BillMonth = params['BillMonth'] end end # 账单 Tag 信息 class BillTagInfo < TencentCloud::Common::AbstractModel @@ -2142,12 +2162,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, 2023, 11 - deprecate :PeriodType=, :none, 2023, 11 + deprecate :PeriodType, :none, 2023, 12 + deprecate :PeriodType=, :none, 2023, 12 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 @@ -2280,12 +2300,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, 2023, 11 - deprecate :PeriodType=, :none, 2023, 11 + deprecate :PeriodType, :none, 2023, 12 + deprecate :PeriodType=, :none, 2023, 12 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 @@ -2605,12 +2625,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, 2023, 11 - deprecate :PeriodType=, :none, 2023, 11 + deprecate :PeriodType, :none, 2023, 12 + deprecate :PeriodType=, :none, 2023, 12 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 @@ -2729,12 +2749,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, 2023, 11 - deprecate :PeriodType=, :none, 2023, 11 + deprecate :PeriodType, :none, 2023, 12 + deprecate :PeriodType=, :none, 2023, 12 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 @@ -4425,14 +4445,20 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Formula: String # @param FormulaUrl: 计费规则:各产品详细的计费规则官网说明链接 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FormulaUrl: String + # @param BillMonth: 账单归属月 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BillMonth: String + # @param BillDay: 账单归属日 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BillDay: String - attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo, :AssociatedOrder, :Formula, :FormulaUrl + attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo, :AssociatedOrder, :Formula, :FormulaUrl, :BillMonth, :BillDay - def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil, associatedorder=nil, formula=nil, formulaurl=nil) + def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil, associatedorder=nil, formula=nil, formulaurl=nil, billmonth=nil, billday=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @ProjectName = projectname @RegionName = regionname @@ -4456,10 +4482,12 @@ @ProjectId = projectid @PriceInfo = priceinfo @AssociatedOrder = associatedorder @Formula = formula @FormulaUrl = formulaurl + @BillMonth = billmonth + @BillDay = billday end def deserialize(params) @BusinessCodeName = params['BusinessCodeName'] @ProductCodeName = params['ProductCodeName'] @@ -4503,9 +4531,11 @@ @AssociatedOrder = BillDetailAssociatedOrder.new @AssociatedOrder.deserialize(params['AssociatedOrder']) end @Formula = params['Formula'] @FormulaUrl = params['FormulaUrl'] + @BillMonth = params['BillMonth'] + @BillDay = params['BillDay'] end end # 不适用商品信息 class ExcludedProducts < TencentCloud::Common::AbstractModel