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.
13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 |
# File 'lib/v20181119/models.rb', line 13890 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
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def AmountWithoutTax @AmountWithoutTax end |
#ArrivalPlace ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def ArrivalPlace @ArrivalPlace end |
#ConstructionName ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def ConstructionName @ConstructionName end |
#ConstructionPlace ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def ConstructionPlace @ConstructionPlace end |
#DeparturePlace ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def DeparturePlace @DeparturePlace end |
#LineNo ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def LineNo @LineNo end |
#Name ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def Name @Name end |
#Quantity ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def Quantity @Quantity end |
#Spec ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def Spec @Spec end |
#TaxAmount ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def TaxAmount @TaxAmount end |
#TaxClassifyCode ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def TaxClassifyCode @TaxClassifyCode end |
#TaxRate ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def TaxRate @TaxRate end |
#TransportItemsName ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def TransportItemsName @TransportItemsName end |
#Unit ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def Unit @Unit end |
#UnitPrice ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def UnitPrice @UnitPrice end |
#VehicleBrand ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
13888 13889 13890 |
# File 'lib/v20181119/models.rb', line 13888 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 |
# File 'lib/v20181119/models.rb', line 13910 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 |