Class: TencentCloud::Ocr::V20181119::RecognizeGeneralInvoiceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RecognizeGeneralInvoiceResponse
- Defined in:
- lib/v20181119/models.rb
Overview
RecognizeGeneralInvoice返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mixedinvoiceitems = nil, totalpdfcount = nil, requestid = nil) ⇒ RecognizeGeneralInvoiceResponse
constructor
A new instance of RecognizeGeneralInvoiceResponse.
Constructor Details
#initialize(mixedinvoiceitems = nil, totalpdfcount = nil, requestid = nil) ⇒ RecognizeGeneralInvoiceResponse
Returns a new instance of RecognizeGeneralInvoiceResponse.
8038 8039 8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8038 def initialize(mixedinvoiceitems=nil, totalpdfcount=nil, requestid=nil) @MixedInvoiceItems = mixedinvoiceitems @TotalPDFCount = totalpdfcount @RequestId = requestid end |
Instance Attribute Details
#MixedInvoiceItems ⇒ Object
8036 8037 8038 |
# File 'lib/v20181119/models.rb', line 8036 def MixedInvoiceItems @MixedInvoiceItems end |
#RequestId ⇒ Object
8036 8037 8038 |
# File 'lib/v20181119/models.rb', line 8036 def RequestId @RequestId end |
#TotalPDFCount ⇒ Object
8036 8037 8038 |
# File 'lib/v20181119/models.rb', line 8036 def TotalPDFCount @TotalPDFCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 |
# File 'lib/v20181119/models.rb', line 8044 def deserialize(params) unless params['MixedInvoiceItems'].nil? @MixedInvoiceItems = [] params['MixedInvoiceItems'].each do |i| invoiceitem_tmp = InvoiceItem.new invoiceitem_tmp.deserialize(i) @MixedInvoiceItems << invoiceitem_tmp end end @TotalPDFCount = params['TotalPDFCount'] @RequestId = params['RequestId'] end |