Class: TencentCloud::Billing::V20180709::ConsumptionBusinessSummaryDataItem

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

Overview

消耗按产品汇总详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BusinessCodeObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def BusinessCode
  @BusinessCode
end

#BusinessCodeNameObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def BusinessCodeName
  @BusinessCodeName
end

#CashPayAmountObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def CashPayAmount
  @CashPayAmount
end

#IncentivePayAmountObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def IncentivePayAmount
  @IncentivePayAmount
end

#RealTotalCostObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def RealTotalCost
  @RealTotalCost
end

#RegionNameObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def RegionName
  @RegionName
end

#TransferPayAmountObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def TransferPayAmount
  @TransferPayAmount
end

#TrendObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



4184
4185
4186
# File 'lib/v20180709/models.rb', line 4184

def Trend
  @Trend
end

#VoucherPayAmountObject

Parameters:

  • BusinessCode:

    产品名称代码

  • BusinessCodeName:

    产品名称

  • RealTotalCost:

    折后总价

  • Trend:

    费用趋势

  • CashPayAmount:

    现金

  • IncentivePayAmount:

    赠送金

  • VoucherPayAmount:

    代金券

  • TransferPayAmount:

    分成金

  • RegionName:

    地域名称(仅在地域汇总总展示)



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