Class: TencentCloud::Ocr::V20181119::MedicalInvoiceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MedicalInvoiceInfo
- Defined in:
- lib/v20181119/models.rb
Overview
医疗发票识别结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(medicalinvoiceitems = nil) ⇒ MedicalInvoiceInfo
constructor
A new instance of MedicalInvoiceInfo.
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
#MedicalInvoiceItems ⇒ Object
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 |