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.
7281 7282 7283 7284 |
# File 'lib/v20181119/models.rb', line 7281 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
7279 7280 7281 |
# File 'lib/v20181119/models.rb', line 7279 def Content @Content end |
#Title ⇒ Object
7279 7280 7281 |
# File 'lib/v20181119/models.rb', line 7279 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/v20181119/models.rb', line 7286 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 |