Class: TencentCloud::Ocr::V20181119::OtherInvoiceList

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

Overview

其他票Table

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(otherinvoiceitemlist = nil) ⇒ OtherInvoiceList

Returns a new instance of OtherInvoiceList.



6356
6357
6358
# File 'lib/v20181119/models.rb', line 6356

def initialize(otherinvoiceitemlist=nil)
  @OtherInvoiceItemList = otherinvoiceitemlist
end

Instance Attribute Details

#OtherInvoiceItemListObject

Parameters:

  • OtherInvoiceItemList:

    列表



6354
6355
6356
# File 'lib/v20181119/models.rb', line 6354

def OtherInvoiceItemList
  @OtherInvoiceItemList
end

Instance Method Details

#deserialize(params) ⇒ Object



6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
# File 'lib/v20181119/models.rb', line 6360

def deserialize(params)
  unless params['OtherInvoiceItemList'].nil?
    @OtherInvoiceItemList = []
    params['OtherInvoiceItemList'].each do |i|
      otherinvoiceitem_tmp = OtherInvoiceItem.new
      otherinvoiceitem_tmp.deserialize(i)
      @OtherInvoiceItemList << otherinvoiceitem_tmp
    end
  end
end