Class: TencentCloud::Cpdp::V20190820::OrderSummaries
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::OrderSummaries
- Defined in:
- lib/v20190820/models.rb
Overview
订单汇总列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, count = nil) ⇒ OrderSummaries
constructor
A new instance of OrderSummaries.
Constructor Details
#initialize(list = nil, count = nil) ⇒ OrderSummaries
Returns a new instance of OrderSummaries.
13403 13404 13405 13406 |
# File 'lib/v20190820/models.rb', line 13403 def initialize(list=nil, count=nil) @List = list @Count = count end |
Instance Attribute Details
#Count ⇒ Object
13401 13402 13403 |
# File 'lib/v20190820/models.rb', line 13401 def Count @Count end |
#List ⇒ Object
13401 13402 13403 |
# File 'lib/v20190820/models.rb', line 13401 def List @List end |
Instance Method Details
#deserialize(params) ⇒ Object
13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 |
# File 'lib/v20190820/models.rb', line 13408 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| ordersummaryresult_tmp = OrderSummaryResult.new ordersummaryresult_tmp.deserialize(i) @List << ordersummaryresult_tmp end end @Count = params['Count'] end |