Class: TencentCloud::Cpdp::V20190820::SettlementOrders

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

Overview

结算订单列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, count = nil) ⇒ SettlementOrders

Returns a new instance of SettlementOrders.



25672
25673
25674
25675
# File 'lib/v20190820/models.rb', line 25672

def initialize(list=nil, count=nil)
  @List = list
  @Count = count
end

Instance Attribute Details

#CountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    列表

  • Count:

    总数



25670
25671
25672
# File 'lib/v20190820/models.rb', line 25670

def Count
  @Count
end

#ListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    列表

  • Count:

    总数



25670
25671
25672
# File 'lib/v20190820/models.rb', line 25670

def List
  @List
end

Instance Method Details

#deserialize(params) ⇒ Object



25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
# File 'lib/v20190820/models.rb', line 25677

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      settlementorderresult_tmp = SettlementOrderResult.new
      settlementorderresult_tmp.deserialize(i)
      @List << settlementorderresult_tmp
    end
  end
  @Count = params['Count']
end