class TencentCloud::Ocr::V20181119::OtherInvoice
其他发票
def deserialize(params)
def deserialize(params) @Title = params['Title'] @Total = params['Total'] unless params['OtherInvoiceListItems'].nil? @OtherInvoiceListItems = [] params['OtherInvoiceListItems'].each do |i| otherinvoiceitem_tmp = OtherInvoiceItem.new otherinvoiceitem_tmp.deserialize(i) @OtherInvoiceListItems << otherinvoiceitem_tmp end end unless params['OtherInvoiceTableItems'].nil? @OtherInvoiceTableItems = [] params['OtherInvoiceTableItems'].each do |i| otherinvoicelist_tmp = OtherInvoiceList.new otherinvoicelist_tmp.deserialize(i) @OtherInvoiceTableItems << otherinvoicelist_tmp end end @Date = params['Date'] end
def initialize(title=nil, total=nil, otherinvoicelistitems=nil, otherinvoicetableitems=nil, date=nil)
def initialize(title=nil, total=nil, otherinvoicelistitems=nil, otherinvoicetableitems=nil, date=nil) @Title = title @Total = total @OtherInvoiceListItems = otherinvoicelistitems @OtherInvoiceTableItems = otherinvoicetableitems @Date = date end