Class: TencentCloud::Billing::V20180709::UsageDetails

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

Overview

购买商品信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ActionObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def Action
  @Action
end

#BillingItemCodeObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def BillingItemCode
  @BillingItemCode
end

#CalcUnitObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def CalcUnit
  @CalcUnit
end

#ProductCodeObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def ProductCode
  @ProductCode
end

#ProductEnNameObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def ProductEnName
  @ProductEnName
end

#ProductNameObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def ProductName
  @ProductName
end

#SubBillingItemCodeObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def SubBillingItemCode
  @SubBillingItemCode
end

#SubProductCodeObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def SubProductCode
  @SubProductCode
end

#SubProductEnNameObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



11017
11018
11019
# File 'lib/v20180709/models.rb', line 11017

def SubProductEnName
  @SubProductEnName
end

#SubProductNameObject

Parameters:

  • ProductName:

    商品名

  • SubProductName:

    商品细节

  • ProductCode:

    产品码

  • SubProductCode:

    子产品码

  • BillingItemCode:

    计费项码

  • SubBillingItemCode:

    计费细项码

  • ProductEnName:

    产品英文名

  • SubProductEnName:

    子产品英文名

  • CalcUnit:

    结算周期

  • Action:

    payMode为prepay 且 payScene为common的情况下存在



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