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.
12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 |
# File 'lib/v20181119/models.rb', line 12707 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
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def AmountWithoutTax @AmountWithoutTax end |
#ArrivalPlace ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def ArrivalPlace @ArrivalPlace end |
#ConstructionName ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def ConstructionName @ConstructionName end |
#ConstructionPlace ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def ConstructionPlace @ConstructionPlace end |
#DeparturePlace ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def DeparturePlace @DeparturePlace end |
#LineNo ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def LineNo @LineNo end |
#Name ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def Name @Name end |
#Quantity ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def Quantity @Quantity end |
#Spec ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def Spec @Spec end |
#TaxAmount ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def TaxAmount @TaxAmount end |
#TaxClassifyCode ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def TaxClassifyCode @TaxClassifyCode end |
#TaxRate ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def TaxRate @TaxRate end |
#TransportItemsName ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def TransportItemsName @TransportItemsName end |
#Unit ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def Unit @Unit end |
#UnitPrice ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def UnitPrice @UnitPrice end |
#VehicleBrand ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
12705 12706 12707 |
# File 'lib/v20181119/models.rb', line 12705 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 |
# File 'lib/v20181119/models.rb', line 12727 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 |