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.
6568 6569 6570 6571 6572 6573 |
# File 'lib/v20210331/models.rb', line 6568 def initialize(productname=nil, productcode=nil, totalcost=nil, ratio=nil) @ProductName = productname @ProductCode = productcode @TotalCost = totalcost @Ratio = ratio end |
Instance Attribute Details
#ProductCode ⇒ Object
6566 6567 6568 |
# File 'lib/v20210331/models.rb', line 6566 def ProductCode @ProductCode end |
#ProductName ⇒ Object
6566 6567 6568 |
# File 'lib/v20210331/models.rb', line 6566 def ProductName @ProductName end |
#Ratio ⇒ Object
6566 6567 6568 |
# File 'lib/v20210331/models.rb', line 6566 def Ratio @Ratio end |
#TotalCost ⇒ Object
6566 6567 6568 |
# File 'lib/v20210331/models.rb', line 6566 def TotalCost @TotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
6575 6576 6577 6578 6579 6580 |
# File 'lib/v20210331/models.rb', line 6575 def deserialize(params) @ProductName = params['ProductName'] @ProductCode = params['ProductCode'] @TotalCost = params['TotalCost'] @Ratio = params['Ratio'] end |