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.
13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 |
# File 'lib/v20181119/models.rb', line 13625 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
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def Amount @Amount end |
#Item ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def Item @Item end |
#MeasurementDimension ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def MeasurementDimension @MeasurementDimension end |
#Price ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def Price @Price end |
#Quantity ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def Quantity @Quantity end |
#Specification ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def Specification @Specification end |
#TaxAmount ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def TaxAmount @TaxAmount end |
#TaxScheme ⇒ Object
13623 13624 13625 |
# File 'lib/v20181119/models.rb', line 13623 def TaxScheme @TaxScheme end |
Instance Method Details
#deserialize(params) ⇒ Object
13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 |
# File 'lib/v20181119/models.rb', line 13636 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 |