Class: TencentCloud::Partners::V20180321::SubProductPriceDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::SubProductPriceDetail
- Defined in:
- lib/v20180321/models.rb
Overview
订单子产品价格详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, discountvalue = nil, totalcost = nil, realtotalcost = nil) ⇒ SubProductPriceDetail
constructor
A new instance of SubProductPriceDetail.
Constructor Details
#initialize(name = nil, discountvalue = nil, totalcost = nil, realtotalcost = nil) ⇒ SubProductPriceDetail
Returns a new instance of SubProductPriceDetail.
1904 1905 1906 1907 1908 1909 |
# File 'lib/v20180321/models.rb', line 1904 def initialize(name=nil, discountvalue=nil, totalcost=nil, realtotalcost=nil) @Name = name @DiscountValue = discountvalue @TotalCost = totalcost @RealTotalCost = realtotalcost end |
Instance Attribute Details
#DiscountValue ⇒ Object
1902 1903 1904 |
# File 'lib/v20180321/models.rb', line 1902 def DiscountValue @DiscountValue end |
#Name ⇒ Object
1902 1903 1904 |
# File 'lib/v20180321/models.rb', line 1902 def Name @Name end |
#RealTotalCost ⇒ Object
1902 1903 1904 |
# File 'lib/v20180321/models.rb', line 1902 def RealTotalCost @RealTotalCost end |
#TotalCost ⇒ Object
1902 1903 1904 |
# File 'lib/v20180321/models.rb', line 1902 def TotalCost @TotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
1911 1912 1913 1914 1915 1916 |
# File 'lib/v20180321/models.rb', line 1911 def deserialize(params) @Name = params['Name'] @DiscountValue = params['DiscountValue'] @TotalCost = params['TotalCost'] @RealTotalCost = params['RealTotalCost'] end |