lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.558 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.559

- old
+ new

@@ -35,23 +35,27 @@ # @type VoucherPayAmount: String # @param BillMonth: 账单月份,格式2019-08 # @type BillMonth: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String + # @param TransferPayAmount: 分成金金额 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TransferPayAmount: String - attr_accessor :ActionType, :ActionTypeName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost + attr_accessor :ActionType, :ActionTypeName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost, :TransferPayAmount - def initialize(actiontype=nil, actiontypename=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil) + def initialize(actiontype=nil, actiontypename=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil, transferpayamount=nil) @ActionType = actiontype @ActionTypeName = actiontypename @RealTotalCost = realtotalcost @RealTotalCostRatio = realtotalcostratio @CashPayAmount = cashpayamount @IncentivePayAmount = incentivepayamount @VoucherPayAmount = voucherpayamount @BillMonth = billmonth @TotalCost = totalcost + @TransferPayAmount = transferpayamount end def deserialize(params) @ActionType = params['ActionType'] @ActionTypeName = params['ActionTypeName'] @@ -60,9 +64,10 @@ @CashPayAmount = params['CashPayAmount'] @IncentivePayAmount = params['IncentivePayAmount'] @VoucherPayAmount = params['VoucherPayAmount'] @BillMonth = params['BillMonth'] @TotalCost = params['TotalCost'] + @TransferPayAmount = params['TransferPayAmount'] end end # 适用商品信息 class ApplicableProducts < TencentCloud::Common::AbstractModel