Class: TencentCloud::Organization::V20210331::OrgProductFinancial
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::OrgProductFinancial
- Defined in:
- lib/v20210331/models.rb
Overview
组织产品财务信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productname = nil, productcode = nil, totalcost = nil, ratio = nil) ⇒ OrgProductFinancial
constructor
A new instance of OrgProductFinancial.
Constructor Details
#initialize(productname = nil, productcode = nil, totalcost = nil, ratio = nil) ⇒ OrgProductFinancial
Returns a new instance of OrgProductFinancial.
6351 6352 6353 6354 6355 6356 |
# File 'lib/v20210331/models.rb', line 6351 def initialize(productname=nil, productcode=nil, totalcost=nil, ratio=nil) @ProductName = productname @ProductCode = productcode @TotalCost = totalcost @Ratio = ratio end |
Instance Attribute Details
#ProductCode ⇒ Object
6349 6350 6351 |
# File 'lib/v20210331/models.rb', line 6349 def ProductCode @ProductCode end |
#ProductName ⇒ Object
6349 6350 6351 |
# File 'lib/v20210331/models.rb', line 6349 def ProductName @ProductName end |
#Ratio ⇒ Object
6349 6350 6351 |
# File 'lib/v20210331/models.rb', line 6349 def Ratio @Ratio end |
#TotalCost ⇒ Object
6349 6350 6351 |
# File 'lib/v20210331/models.rb', line 6349 def TotalCost @TotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
6358 6359 6360 6361 6362 6363 |
# File 'lib/v20210331/models.rb', line 6358 def deserialize(params) @ProductName = params['ProductName'] @ProductCode = params['ProductCode'] @TotalCost = params['TotalCost'] @Ratio = params['Ratio'] end |