Class: TencentCloud::Ocr::V20181119::MixedInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::MixedInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
MixedInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mixedinvoiceitems = nil, requestid = nil) ⇒ MixedInvoiceOCRResponse
constructor
A new instance of MixedInvoiceOCRResponse.
Constructor Details
#initialize(mixedinvoiceitems = nil, requestid = nil) ⇒ MixedInvoiceOCRResponse
Returns a new instance of MixedInvoiceOCRResponse.
6051 6052 6053 6054 |
# File 'lib/v20181119/models.rb', line 6051 def initialize(mixedinvoiceitems=nil, requestid=nil) @MixedInvoiceItems = mixedinvoiceitems @RequestId = requestid end |
Instance Attribute Details
#MixedInvoiceItems ⇒ Object
6049 6050 6051 |
# File 'lib/v20181119/models.rb', line 6049 def MixedInvoiceItems @MixedInvoiceItems end |
#RequestId ⇒ Object
6049 6050 6051 |
# File 'lib/v20181119/models.rb', line 6049 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 |
# File 'lib/v20181119/models.rb', line 6056 def deserialize(params) unless params['MixedInvoiceItems'].nil? @MixedInvoiceItems = [] params['MixedInvoiceItems'].each do |i| mixedinvoiceitem_tmp = MixedInvoiceItem.new mixedinvoiceitem_tmp.deserialize(i) @MixedInvoiceItems << mixedinvoiceitem_tmp end end @RequestId = params['RequestId'] end |