Class: TencentCloud::Cpdp::V20190820::CreateBatchPaymentData

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

Overview

CreateBatchPayment接口返回响应

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batchid = nil, batchinfolist = nil) ⇒ CreateBatchPaymentData

Returns a new instance of CreateBatchPaymentData.



5593
5594
5595
5596
# File 'lib/v20190820/models.rb', line 5593

def initialize(batchid=nil, batchinfolist=nil)
  @BatchId = batchid
  @BatchInfoList = batchinfolist
end

Instance Attribute Details

#BatchIdObject

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

Parameters:

  • BatchId:

    批次号

  • BatchInfoList:

    批次列表详情



5591
5592
5593
# File 'lib/v20190820/models.rb', line 5591

def BatchId
  @BatchId
end

#BatchInfoListObject

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

Parameters:

  • BatchId:

    批次号

  • BatchInfoList:

    批次列表详情



5591
5592
5593
# File 'lib/v20190820/models.rb', line 5591

def BatchInfoList
  @BatchInfoList
end

Instance Method Details

#deserialize(params) ⇒ Object



5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
# File 'lib/v20190820/models.rb', line 5598

def deserialize(params)
  @BatchId = params['BatchId']
  unless params['BatchInfoList'].nil?
    @BatchInfoList = []
    params['BatchInfoList'].each do |i|
      createbatchpaymentbatchdata_tmp = CreateBatchPaymentBatchData.new
      createbatchpaymentbatchdata_tmp.deserialize(i)
      @BatchInfoList << createbatchpaymentbatchdata_tmp
    end
  end
end