Class: TencentCloud::Billing::V20180709::UsageDetails
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::UsageDetails
- Defined in:
- lib/v20180709/models.rb
Overview
购买商品信息
Instance Attribute Summary collapse
- #Action ⇒ Object
- #BillingItemCode ⇒ Object
- #CalcUnit ⇒ Object
- #ProductCode ⇒ Object
- #ProductEnName ⇒ Object
- #ProductName ⇒ Object
- #SubBillingItemCode ⇒ Object
- #SubProductCode ⇒ Object
- #SubProductEnName ⇒ Object
- #SubProductName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productname = nil, subproductname = nil, productcode = nil, subproductcode = nil, billingitemcode = nil, subbillingitemcode = nil, productenname = nil, subproductenname = nil, calcunit = nil, action = nil) ⇒ UsageDetails
constructor
A new instance of UsageDetails.
Constructor Details
#initialize(productname = nil, subproductname = nil, productcode = nil, subproductcode = nil, billingitemcode = nil, subbillingitemcode = nil, productenname = nil, subproductenname = nil, calcunit = nil, action = nil) ⇒ UsageDetails
Returns a new instance of UsageDetails.
11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 |
# File 'lib/v20180709/models.rb', line 11019 def initialize(productname=nil, subproductname=nil, productcode=nil, subproductcode=nil, billingitemcode=nil, subbillingitemcode=nil, productenname=nil, subproductenname=nil, calcunit=nil, action=nil) @ProductName = productname @SubProductName = subproductname @ProductCode = productcode @SubProductCode = subproductcode @BillingItemCode = billingitemcode @SubBillingItemCode = subbillingitemcode @ProductEnName = productenname @SubProductEnName = subproductenname @CalcUnit = calcunit @Action = action end |
Instance Attribute Details
#Action ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def Action @Action end |
#BillingItemCode ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def BillingItemCode @BillingItemCode end |
#CalcUnit ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def CalcUnit @CalcUnit end |
#ProductCode ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def ProductCode @ProductCode end |
#ProductEnName ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def ProductEnName @ProductEnName end |
#ProductName ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def ProductName @ProductName end |
#SubBillingItemCode ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def SubBillingItemCode @SubBillingItemCode end |
#SubProductCode ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def SubProductCode @SubProductCode end |
#SubProductEnName ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def SubProductEnName @SubProductEnName end |
#SubProductName ⇒ Object
11017 11018 11019 |
# File 'lib/v20180709/models.rb', line 11017 def SubProductName @SubProductName end |
Instance Method Details
#deserialize(params) ⇒ Object
11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 |
# File 'lib/v20180709/models.rb', line 11032 def deserialize(params) @ProductName = params['ProductName'] @SubProductName = params['SubProductName'] @ProductCode = params['ProductCode'] @SubProductCode = params['SubProductCode'] @BillingItemCode = params['BillingItemCode'] @SubBillingItemCode = params['SubBillingItemCode'] @ProductEnName = params['ProductEnName'] @SubProductEnName = params['SubProductEnName'] @CalcUnit = params['CalcUnit'] @Action = params['Action'] end |