Class: TencentCloud::Ocr::V20181119::VatInvoiceGoodsInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceGoodsInfo
- Defined in:
- lib/v20181119/models.rb
Overview
发票商品
Instance Attribute Summary collapse
- #Amount ⇒ Object
- #Item ⇒ Object
- #MeasurementDimension ⇒ Object
- #Price ⇒ Object
- #Quantity ⇒ Object
- #Specification ⇒ Object
- #TaxAmount ⇒ Object
- #TaxScheme ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(item = nil, specification = nil, measurementdimension = nil, price = nil, quantity = nil, amount = nil, taxscheme = nil, taxamount = nil) ⇒ VatInvoiceGoodsInfo
constructor
A new instance of VatInvoiceGoodsInfo.
Constructor Details
#initialize(item = nil, specification = nil, measurementdimension = nil, price = nil, quantity = nil, amount = nil, taxscheme = nil, taxamount = nil) ⇒ VatInvoiceGoodsInfo
Returns a new instance of VatInvoiceGoodsInfo.
13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 |
# File 'lib/v20181119/models.rb', line 13366 def initialize(item=nil, specification=nil, measurementdimension=nil, price=nil, quantity=nil, amount=nil, taxscheme=nil, taxamount=nil) @Item = item @Specification = specification @MeasurementDimension = measurementdimension @Price = price @Quantity = quantity @Amount = amount @TaxScheme = taxscheme @TaxAmount = taxamount end |
Instance Attribute Details
#Amount ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def Amount @Amount end |
#Item ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def Item @Item end |
#MeasurementDimension ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def MeasurementDimension @MeasurementDimension end |
#Price ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def Price @Price end |
#Quantity ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def Quantity @Quantity end |
#Specification ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def Specification @Specification end |
#TaxAmount ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def TaxAmount @TaxAmount end |
#TaxScheme ⇒ Object
13364 13365 13366 |
# File 'lib/v20181119/models.rb', line 13364 def TaxScheme @TaxScheme end |
Instance Method Details
#deserialize(params) ⇒ Object
13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 |
# File 'lib/v20181119/models.rb', line 13377 def deserialize(params) @Item = params['Item'] @Specification = params['Specification'] @MeasurementDimension = params['MeasurementDimension'] @Price = params['Price'] @Quantity = params['Quantity'] @Amount = params['Amount'] @TaxScheme = params['TaxScheme'] @TaxAmount = params['TaxAmount'] end |