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.
10540 10541 10542 10543 |
# File 'lib/v20181119/models.rb', line 10540 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
10538 10539 10540 |
# File 'lib/v20181119/models.rb', line 10538 def Content @Content end |
#Title ⇒ Object
10538 10539 10540 |
# File 'lib/v20181119/models.rb', line 10538 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 |
# File 'lib/v20181119/models.rb', line 10545 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 |