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.



6569
6570
6571
# File 'lib/v20181119/models.rb', line 6569

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

Instance Attribute Details

#OtherInvoiceItemListObject

Parameters:

  • OtherInvoiceItemList:

    列表



6567
6568
6569
# File 'lib/v20181119/models.rb', line 6567

def OtherInvoiceItemList
  @OtherInvoiceItemList
end

Instance Method Details

#deserialize(params) ⇒ Object



6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
# File 'lib/v20181119/models.rb', line 6573

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