Class: TencentCloud::Ocr::V20181119::VatRollItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatRollItem
- Defined in:
- lib/v20181119/models.rb
Overview
增值税普通发票(卷票)条目
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, quantity = nil, price = nil, total = nil) ⇒ VatRollItem
constructor
A new instance of VatRollItem.
Constructor Details
#initialize(name = nil, quantity = nil, price = nil, total = nil) ⇒ VatRollItem
Returns a new instance of VatRollItem.
14263 14264 14265 14266 14267 14268 |
# File 'lib/v20181119/models.rb', line 14263 def initialize(name=nil, quantity=nil, price=nil, total=nil) @Name = name @Quantity = quantity @Price = price @Total = total end |
Instance Attribute Details
#Name ⇒ Object
14261 14262 14263 |
# File 'lib/v20181119/models.rb', line 14261 def Name @Name end |
#Price ⇒ Object
14261 14262 14263 |
# File 'lib/v20181119/models.rb', line 14261 def Price @Price end |
#Quantity ⇒ Object
14261 14262 14263 |
# File 'lib/v20181119/models.rb', line 14261 def Quantity @Quantity end |
#Total ⇒ Object
14261 14262 14263 |
# File 'lib/v20181119/models.rb', line 14261 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
14270 14271 14272 14273 14274 14275 |
# File 'lib/v20181119/models.rb', line 14270 def deserialize(params) @Name = params['Name'] @Quantity = params['Quantity'] @Price = params['Price'] @Total = params['Total'] end |