Class: TencentCloud::Billing::V20180709::SummaryDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::SummaryDetail
- Defined in:
- lib/v20180709/models.rb
Overview
账单多维度汇总消费详情
Instance Attribute Summary collapse
- #Business ⇒ Object
- #CashPayAmount ⇒ Object
- #GroupKey ⇒ Object
- #GroupValue ⇒ Object
- #IncentivePayAmount ⇒ Object
- #RealTotalCost ⇒ Object
- #TotalCost ⇒ Object
- #TransferPayAmount ⇒ Object
- #VoucherPayAmount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupkey = nil, groupvalue = nil, totalcost = nil, realtotalcost = nil, cashpayamount = nil, incentivepayamount = nil, voucherpayamount = nil, transferpayamount = nil, business = nil) ⇒ SummaryDetail
constructor
A new instance of SummaryDetail.
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
#Business ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def Business @Business end |
#CashPayAmount ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def CashPayAmount @CashPayAmount end |
#GroupKey ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def GroupKey @GroupKey end |
#GroupValue ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def GroupValue @GroupValue end |
#IncentivePayAmount ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def IncentivePayAmount @IncentivePayAmount end |
#RealTotalCost ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def RealTotalCost @RealTotalCost end |
#TotalCost ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def TotalCost @TotalCost end |
#TransferPayAmount ⇒ Object
10850 10851 10852 |
# File 'lib/v20180709/models.rb', line 10850 def TransferPayAmount @TransferPayAmount end |
#VoucherPayAmount ⇒ Object
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.new .deserialize(i) @Business << end end end |