Class: TencentCloud::Ocr::V20181119::VatInvoiceItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

增值税发票项目明细

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AmountWithoutTaxObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def AmountWithoutTax
  @AmountWithoutTax
end

#ArrivalPlaceObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def ArrivalPlace
  @ArrivalPlace
end

#ConstructionNameObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def ConstructionName
  @ConstructionName
end

#ConstructionPlaceObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def ConstructionPlace
  @ConstructionPlace
end

#DeparturePlaceObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def DeparturePlace
  @DeparturePlace
end

#LineNoObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def LineNo
  @LineNo
end

#NameObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def Name
  @Name
end

#QuantityObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def Quantity
  @Quantity
end

#SpecObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def Spec
  @Spec
end

#TaxAmountObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def TaxAmount
  @TaxAmount
end

#TaxClassifyCodeObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def TaxClassifyCode
  @TaxClassifyCode
end

#TaxRateObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def TaxRate
  @TaxRate
end

#TransportItemsNameObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def TransportItemsName
  @TransportItemsName
end

#UnitObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def Unit
  @Unit
end

#UnitPriceObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def UnitPrice
  @UnitPrice
end

#VehicleBrandObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



12705
12706
12707
# File 'lib/v20181119/models.rb', line 12705

def VehicleBrand
  @VehicleBrand
end

#VehicleTypeObject

Parameters:

  • LineNo:

    行号

  • Name:

    名称

  • Spec:

    规格

  • Unit:

    单位

  • Quantity:

    数量

  • UnitPrice:

    单价

  • AmountWithoutTax:

    不含税金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • TaxClassifyCode:

    税收分类编码

  • VehicleType:

    运输工具类型

  • VehicleBrand:

    运输工具牌号

  • DeparturePlace:

    起始地

  • ArrivalPlace:

    到达地

  • TransportItemsName:

    运输货物名称

  • ConstructionPlace:

    建筑服务发生地

  • ConstructionName:

    建筑项目名称



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