Class: TencentCloud::Billing::V20180709::ConsumptionBusinessSummaryDataItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::ConsumptionBusinessSummaryDataItem
- Defined in:
- lib/v20180709/models.rb
Overview
消耗按产品汇总详情
Instance Attribute Summary collapse
- #BusinessCode ⇒ Object
- #BusinessCodeName ⇒ Object
- #CashPayAmount ⇒ Object
- #IncentivePayAmount ⇒ Object
- #RealTotalCost ⇒ Object
- #RegionName ⇒ Object
- #TransferPayAmount ⇒ Object
- #Trend ⇒ Object
- #VoucherPayAmount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(businesscode = nil, businesscodename = nil, realtotalcost = nil, trend = nil, cashpayamount = nil, incentivepayamount = nil, voucherpayamount = nil, transferpayamount = nil, regionname = nil) ⇒ ConsumptionBusinessSummaryDataItem
constructor
A new instance of ConsumptionBusinessSummaryDataItem.
Constructor Details
#initialize(businesscode = nil, businesscodename = nil, realtotalcost = nil, trend = nil, cashpayamount = nil, incentivepayamount = nil, voucherpayamount = nil, transferpayamount = nil, regionname = nil) ⇒ ConsumptionBusinessSummaryDataItem
Returns a new instance of ConsumptionBusinessSummaryDataItem.
4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 |
# File 'lib/v20180709/models.rb', line 4186 def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, trend=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, regionname=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename @RealTotalCost = realtotalcost @Trend = trend @CashPayAmount = cashpayamount @IncentivePayAmount = incentivepayamount @VoucherPayAmount = voucherpayamount @TransferPayAmount = transferpayamount @RegionName = regionname end |
Instance Attribute Details
#BusinessCode ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def BusinessCode @BusinessCode end |
#BusinessCodeName ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def BusinessCodeName @BusinessCodeName end |
#CashPayAmount ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def CashPayAmount @CashPayAmount end |
#IncentivePayAmount ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def IncentivePayAmount @IncentivePayAmount end |
#RealTotalCost ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def RealTotalCost @RealTotalCost end |
#RegionName ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def RegionName @RegionName end |
#TransferPayAmount ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def TransferPayAmount @TransferPayAmount end |
#Trend ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def Trend @Trend end |
#VoucherPayAmount ⇒ Object
4184 4185 4186 |
# File 'lib/v20180709/models.rb', line 4184 def VoucherPayAmount @VoucherPayAmount end |
Instance Method Details
#deserialize(params) ⇒ Object
4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 |
# File 'lib/v20180709/models.rb', line 4198 def deserialize(params) @BusinessCode = params['BusinessCode'] @BusinessCodeName = params['BusinessCodeName'] @RealTotalCost = params['RealTotalCost'] unless params['Trend'].nil? @Trend = ConsumptionSummaryTrend.new @Trend.deserialize(params['Trend']) end @CashPayAmount = params['CashPayAmount'] @IncentivePayAmount = params['IncentivePayAmount'] @VoucherPayAmount = params['VoucherPayAmount'] @TransferPayAmount = params['TransferPayAmount'] @RegionName = params['RegionName'] end |