Class: TencentCloud::Ocr::V20181119::OverseasInvoice
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::OverseasInvoice
- Defined in:
- lib/v20181119/models.rb
Overview
海外发票
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, content = nil) ⇒ OverseasInvoice
constructor
A new instance of OverseasInvoice.
Constructor Details
#initialize(title = nil, content = nil) ⇒ OverseasInvoice
Returns a new instance of OverseasInvoice.
7294 7295 7296 7297 |
# File 'lib/v20181119/models.rb', line 7294 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
7292 7293 7294 |
# File 'lib/v20181119/models.rb', line 7292 def Content @Content end |
#Title ⇒ Object
7292 7293 7294 |
# File 'lib/v20181119/models.rb', line 7292 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 |
# File 'lib/v20181119/models.rb', line 7299 def deserialize(params) @Title = params['Title'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| otherinvoiceitem_tmp = OtherInvoiceItem.new otherinvoiceitem_tmp.deserialize(i) @Content << otherinvoiceitem_tmp end end end |