Class: TencentCloud::Billing::V20180709::CostComponentSet

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

Overview

消耗组件明细

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(componentcodename = nil, itemcodename = nil, singleprice = nil, priceunit = nil, usedamount = nil, usedamountunit = nil, cost = nil, discount = nil, realcost = nil, voucherpayamount = nil, cashpayamount = nil, incentivepayamount = nil) ⇒ CostComponentSet

Returns a new instance of CostComponentSet.



4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
# File 'lib/v20180709/models.rb', line 4663

def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, cost=nil, discount=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil)
  @ComponentCodeName = componentcodename
  @ItemCodeName = itemcodename
  @SinglePrice = singleprice
  @PriceUnit = priceunit
  @UsedAmount = usedamount
  @UsedAmountUnit = usedamountunit
  @Cost = cost
  @Discount = discount
  @RealCost = realcost
  @VoucherPayAmount = voucherpayamount
  @CashPayAmount = cashpayamount
  @IncentivePayAmount = incentivepayamount
end

Instance Attribute Details

#CashPayAmountObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def CashPayAmount
  @CashPayAmount
end

#ComponentCodeNameObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def ComponentCodeName
  @ComponentCodeName
end

#CostObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def Cost
  @Cost
end

#DiscountObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def Discount
  @Discount
end

#IncentivePayAmountObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def IncentivePayAmount
  @IncentivePayAmount
end

#ItemCodeNameObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def ItemCodeName
  @ItemCodeName
end

#PriceUnitObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def PriceUnit
  @PriceUnit
end

#RealCostObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def RealCost
  @RealCost
end

#SinglePriceObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def SinglePrice
  @SinglePrice
end

#UsedAmountObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def UsedAmount
  @UsedAmount
end

#UsedAmountUnitObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def UsedAmountUnit
  @UsedAmountUnit
end

#VoucherPayAmountObject

Parameters:

  • ComponentCodeName:

    组件类型名称

  • ItemCodeName:

    组件名称

  • SinglePrice:

    刊例价

  • PriceUnit:

    刊例价单位

  • UsedAmount:

    用量

  • UsedAmountUnit:

    用量单位

  • Cost:

    原价

  • Discount:

    折扣

  • RealCost:

    折后价

  • VoucherPayAmount:

    代金券支付金额

  • CashPayAmount:

    现金支付金额

  • IncentivePayAmount:

    赠送金支付金额



4661
4662
4663
# File 'lib/v20180709/models.rb', line 4661

def VoucherPayAmount
  @VoucherPayAmount
end

Instance Method Details

#deserialize(params) ⇒ Object



4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
# File 'lib/v20180709/models.rb', line 4678

def deserialize(params)
  @ComponentCodeName = params['ComponentCodeName']
  @ItemCodeName = params['ItemCodeName']
  @SinglePrice = params['SinglePrice']
  @PriceUnit = params['PriceUnit']
  @UsedAmount = params['UsedAmount']
  @UsedAmountUnit = params['UsedAmountUnit']
  @Cost = params['Cost']
  @Discount = params['Discount']
  @RealCost = params['RealCost']
  @VoucherPayAmount = params['VoucherPayAmount']
  @CashPayAmount = params['CashPayAmount']
  @IncentivePayAmount = params['IncentivePayAmount']
end