Class: TencentCloud::Ocr::V20181119::SaleInventory
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::SaleInventory
- Defined in:
- lib/v20181119/models.rb
Overview
销货清单
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, content = nil) ⇒ SaleInventory
constructor
A new instance of SaleInventory.
Constructor Details
#initialize(title = nil, content = nil) ⇒ SaleInventory
Returns a new instance of SaleInventory.
10440 10441 10442 10443 |
# File 'lib/v20181119/models.rb', line 10440 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
10438 10439 10440 |
# File 'lib/v20181119/models.rb', line 10438 def Content @Content end |
#Title ⇒ Object
10438 10439 10440 |
# File 'lib/v20181119/models.rb', line 10438 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 |
# File 'lib/v20181119/models.rb', line 10445 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 |