Class: TencentCloud::Billing::V20180709::SummaryDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180709/models.rb

Overview

账单多维度汇总消费详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupkey = nil, groupvalue = nil, totalcost = nil, realtotalcost = nil, cashpayamount = nil, incentivepayamount = nil, voucherpayamount = nil, transferpayamount = nil, business = nil) ⇒ SummaryDetail

Returns a new instance of SummaryDetail.



10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
# File 'lib/v20180709/models.rb', line 10852

def initialize(groupkey=nil, groupvalue=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, business=nil)
  @GroupKey = groupkey
  @GroupValue = groupvalue
  @TotalCost = totalcost
  @RealTotalCost = realtotalcost
  @CashPayAmount = cashpayamount
  @IncentivePayAmount = incentivepayamount
  @VoucherPayAmount = voucherpayamount
  @TransferPayAmount = transferpayamount
  @Business = business
end

Instance Attribute Details

#BusinessObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def Business
  @Business
end

#CashPayAmountObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def CashPayAmount
  @CashPayAmount
end

#GroupKeyObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def GroupKey
  @GroupKey
end

#GroupValueObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def GroupValue
  @GroupValue
end

#IncentivePayAmountObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def IncentivePayAmount
  @IncentivePayAmount
end

#RealTotalCostObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def RealTotalCost
  @RealTotalCost
end

#TotalCostObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def TotalCost
  @TotalCost
end

#TransferPayAmountObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def TransferPayAmount
  @TransferPayAmount
end

#VoucherPayAmountObject

Parameters:

  • GroupKey:

    账单维度编码

  • GroupValue:

    账单维度值

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额

  • Business:

    产品汇总信息



10850
10851
10852
# File 'lib/v20180709/models.rb', line 10850

def VoucherPayAmount
  @VoucherPayAmount
end

Instance Method Details

#deserialize(params) ⇒ Object



10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
# File 'lib/v20180709/models.rb', line 10864

def deserialize(params)
  @GroupKey = params['GroupKey']
  @GroupValue = params['GroupValue']
  @TotalCost = params['TotalCost']
  @RealTotalCost = params['RealTotalCost']
  @CashPayAmount = params['CashPayAmount']
  @IncentivePayAmount = params['IncentivePayAmount']
  @VoucherPayAmount = params['VoucherPayAmount']
  @TransferPayAmount = params['TransferPayAmount']
  unless params['Business'].nil?
    @Business = []
    params['Business'].each do |i|
      businesssummaryinfo_tmp = BusinessSummaryInfo.new
      businesssummaryinfo_tmp.deserialize(i)
      @Business << businesssummaryinfo_tmp
    end
  end
end