Class: TencentCloud::Ocr::V20181119::VatInvoiceItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceItem
- Defined in:
- lib/v20181119/models.rb
Overview
增值税发票项目明细
Instance Attribute Summary collapse
- #AmountWithoutTax ⇒ Object
- #ArrivalPlace ⇒ Object
- #ConstructionName ⇒ Object
- #ConstructionPlace ⇒ Object
- #DeparturePlace ⇒ Object
- #LineNo ⇒ Object
- #Name ⇒ Object
- #Quantity ⇒ Object
- #Spec ⇒ Object
- #TaxAmount ⇒ Object
- #TaxClassifyCode ⇒ Object
- #TaxRate ⇒ Object
- #TransportItemsName ⇒ Object
- #Unit ⇒ Object
- #UnitPrice ⇒ Object
- #VehicleBrand ⇒ Object
- #VehicleType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(lineno = nil, name = nil, spec = nil, unit = nil, quantity = nil, unitprice = nil, amountwithouttax = nil, taxrate = nil, taxamount = nil, taxclassifycode = nil, vehicletype = nil, vehiclebrand = nil, departureplace = nil, arrivalplace = nil, transportitemsname = nil, constructionplace = nil, constructionname = nil) ⇒ VatInvoiceItem
constructor
A new instance of VatInvoiceItem.
Constructor Details
#initialize(lineno = nil, name = nil, spec = nil, unit = nil, quantity = nil, unitprice = nil, amountwithouttax = nil, taxrate = nil, taxamount = nil, taxclassifycode = nil, vehicletype = nil, vehiclebrand = nil, departureplace = nil, arrivalplace = nil, transportitemsname = nil, constructionplace = nil, constructionname = nil) ⇒ VatInvoiceItem
Returns a new instance of VatInvoiceItem.
13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 |
# File 'lib/v20181119/models.rb', line 13631 def initialize(lineno=nil, name=nil, spec=nil, unit=nil, quantity=nil, unitprice=nil, amountwithouttax=nil, taxrate=nil, taxamount=nil, taxclassifycode=nil, vehicletype=nil, vehiclebrand=nil, departureplace=nil, arrivalplace=nil, transportitemsname=nil, constructionplace=nil, constructionname=nil) @LineNo = lineno @Name = name @Spec = spec @Unit = unit @Quantity = quantity @UnitPrice = unitprice @AmountWithoutTax = amountwithouttax @TaxRate = taxrate @TaxAmount = taxamount @TaxClassifyCode = taxclassifycode @VehicleType = vehicletype @VehicleBrand = vehiclebrand @DeparturePlace = departureplace @ArrivalPlace = arrivalplace @TransportItemsName = transportitemsname @ConstructionPlace = constructionplace @ConstructionName = constructionname end |
Instance Attribute Details
#AmountWithoutTax ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def AmountWithoutTax @AmountWithoutTax end |
#ArrivalPlace ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def ArrivalPlace @ArrivalPlace end |
#ConstructionName ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def ConstructionName @ConstructionName end |
#ConstructionPlace ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def ConstructionPlace @ConstructionPlace end |
#DeparturePlace ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def DeparturePlace @DeparturePlace end |
#LineNo ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def LineNo @LineNo end |
#Name ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def Name @Name end |
#Quantity ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def Quantity @Quantity end |
#Spec ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def Spec @Spec end |
#TaxAmount ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def TaxAmount @TaxAmount end |
#TaxClassifyCode ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def TaxClassifyCode @TaxClassifyCode end |
#TaxRate ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def TaxRate @TaxRate end |
#TransportItemsName ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def TransportItemsName @TransportItemsName end |
#Unit ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def Unit @Unit end |
#UnitPrice ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def UnitPrice @UnitPrice end |
#VehicleBrand ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
13629 13630 13631 |
# File 'lib/v20181119/models.rb', line 13629 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 |
# File 'lib/v20181119/models.rb', line 13651 def deserialize(params) @LineNo = params['LineNo'] @Name = params['Name'] @Spec = params['Spec'] @Unit = params['Unit'] @Quantity = params['Quantity'] @UnitPrice = params['UnitPrice'] @AmountWithoutTax = params['AmountWithoutTax'] @TaxRate = params['TaxRate'] @TaxAmount = params['TaxAmount'] @TaxClassifyCode = params['TaxClassifyCode'] @VehicleType = params['VehicleType'] @VehicleBrand = params['VehicleBrand'] @DeparturePlace = params['DeparturePlace'] @ArrivalPlace = params['ArrivalPlace'] @TransportItemsName = params['TransportItemsName'] @ConstructionPlace = params['ConstructionPlace'] @ConstructionName = params['ConstructionName'] end |