Class: TencentCloud::Billing::V20180709::CostComponentSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::CostComponentSet
- Defined in:
- lib/v20180709/models.rb
Overview
消耗组件明细
Instance Attribute Summary collapse
- #CashPayAmount ⇒ Object
- #ComponentCodeName ⇒ Object
- #Cost ⇒ Object
- #Discount ⇒ Object
- #IncentivePayAmount ⇒ Object
- #ItemCodeName ⇒ Object
- #PriceUnit ⇒ Object
- #RealCost ⇒ Object
- #SinglePrice ⇒ Object
- #UsedAmount ⇒ Object
- #UsedAmountUnit ⇒ Object
- #VoucherPayAmount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of CostComponentSet.
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
#CashPayAmount ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def CashPayAmount @CashPayAmount end |
#ComponentCodeName ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def ComponentCodeName @ComponentCodeName end |
#Cost ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def Cost @Cost end |
#Discount ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def Discount @Discount end |
#IncentivePayAmount ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def IncentivePayAmount @IncentivePayAmount end |
#ItemCodeName ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def ItemCodeName @ItemCodeName end |
#PriceUnit ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def PriceUnit @PriceUnit end |
#RealCost ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def RealCost @RealCost end |
#SinglePrice ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def SinglePrice @SinglePrice end |
#UsedAmount ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def UsedAmount @UsedAmount end |
#UsedAmountUnit ⇒ Object
4661 4662 4663 |
# File 'lib/v20180709/models.rb', line 4661 def UsedAmountUnit @UsedAmountUnit end |
#VoucherPayAmount ⇒ Object
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 |