Class: TencentCloud::Ocr::V20181119::MedicalInvoiceInfo

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

Overview

医疗发票识别结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(medicalinvoiceitems = nil) ⇒ MedicalInvoiceInfo

Returns a new instance of MedicalInvoiceInfo.



5796
5797
5798
# File 'lib/v20181119/models.rb', line 5796

def initialize(medicalinvoiceitems=nil)
  @MedicalInvoiceItems = medicalinvoiceitems
end

Instance Attribute Details

#MedicalInvoiceItemsObject

Parameters:

  • MedicalInvoiceItems:

    医疗发票识别结果条目



5794
5795
5796
# File 'lib/v20181119/models.rb', line 5794

def MedicalInvoiceItems
  @MedicalInvoiceItems
end

Instance Method Details

#deserialize(params) ⇒ Object



5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
# File 'lib/v20181119/models.rb', line 5800

def deserialize(params)
  unless params['MedicalInvoiceItems'].nil?
    @MedicalInvoiceItems = []
    params['MedicalInvoiceItems'].each do |i|
      medicalinvoiceitem_tmp = MedicalInvoiceItem.new
      medicalinvoiceitem_tmp.deserialize(i)
      @MedicalInvoiceItems << medicalinvoiceitem_tmp
    end
  end
end