Class: TencentCloud::Cpdp::V20190820::PaymentOrders

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) ⇒ PaymentOrders

Returns a new instance of PaymentOrders.



14364
14365
14366
14367
# File 'lib/v20190820/models.rb', line 14364

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

Instance Attribute Details

#CountObject

Parameters:

  • List:

    列表

  • Count:

    总数



14362
14363
14364
# File 'lib/v20190820/models.rb', line 14362

def Count
  @Count
end

#ListObject

Parameters:

  • List:

    列表

  • Count:

    总数



14362
14363
14364
# File 'lib/v20190820/models.rb', line 14362

def List
  @List
end

Instance Method Details

#deserialize(params) ⇒ Object



14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'lib/v20190820/models.rb', line 14369

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