Class: TencentCloud::Ocr::V20181119::NonTaxItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::NonTaxItem
- Defined in:
- lib/v20181119/models.rb
Overview
非税收入条目
Instance Attribute Summary collapse
- #ItemID ⇒ Object
- #Name ⇒ Object
- #Quantity ⇒ Object
- #Standard ⇒ Object
- #Total ⇒ Object
- #Unit ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(itemid = nil, name = nil, unit = nil, quantity = nil, standard = nil, total = nil) ⇒ NonTaxItem
constructor
A new instance of NonTaxItem.
Constructor Details
#initialize(itemid = nil, name = nil, unit = nil, quantity = nil, standard = nil, total = nil) ⇒ NonTaxItem
Returns a new instance of NonTaxItem.
6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/v20181119/models.rb', line 6393 def initialize(itemid=nil, name=nil, unit=nil, quantity=nil, standard=nil, total=nil) @ItemID = itemid @Name = name @Unit = unit @Quantity = quantity @Standard = standard @Total = total end |
Instance Attribute Details
#ItemID ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def ItemID @ItemID end |
#Name ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def Name @Name end |
#Quantity ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def Quantity @Quantity end |
#Standard ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def Standard @Standard end |
#Total ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def Total @Total end |
#Unit ⇒ Object
6391 6392 6393 |
# File 'lib/v20181119/models.rb', line 6391 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
6402 6403 6404 6405 6406 6407 6408 6409 |
# File 'lib/v20181119/models.rb', line 6402 def deserialize(params) @ItemID = params['ItemID'] @Name = params['Name'] @Unit = params['Unit'] @Quantity = params['Quantity'] @Standard = params['Standard'] @Total = params['Total'] end |