Class: TencentCloud::Ocr::V20181119::VatInvoiceItemInfo

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

Overview

增值税发票项目信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, specification = nil, unit = nil, quantity = nil, price = nil, total = nil, taxrate = nil, tax = nil, datestart = nil, dateend = nil, licenseplate = nil, vehicletype = nil, serialnumber = nil) ⇒ VatInvoiceItemInfo

Returns a new instance of VatInvoiceItemInfo.



12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
# File 'lib/v20181119/models.rb', line 12779

def initialize(name=nil, specification=nil, unit=nil, quantity=nil, price=nil, total=nil, taxrate=nil, tax=nil, datestart=nil, dateend=nil, licenseplate=nil, vehicletype=nil, serialnumber=nil)
  @Name = name
  @Specification = specification
  @Unit = unit
  @Quantity = quantity
  @Price = price
  @Total = total
  @TaxRate = taxrate
  @Tax = tax
  @DateStart = datestart
  @DateEnd = dateend
  @LicensePlate = licenseplate
  @VehicleType = vehicletype
  @SerialNumber = serialnumber
end

Instance Attribute Details

#DateEndObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def DateEnd
  @DateEnd
end

#DateStartObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def DateStart
  @DateStart
end

#LicensePlateObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def LicensePlate
  @LicensePlate
end

#NameObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Name
  @Name
end

#PriceObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Price
  @Price
end

#QuantityObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Quantity
  @Quantity
end

#SerialNumberObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def SerialNumber
  @SerialNumber
end

#SpecificationObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Specification
  @Specification
end

#TaxObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Tax
  @Tax
end

#TaxRateObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def TaxRate
  @TaxRate
end

#TotalObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Total
  @Total
end

#UnitObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def Unit
  @Unit
end

#VehicleTypeObject

Parameters:

  • Name:

    项目名称

  • Specification:

    规格型号

  • Unit:

    单位

  • Quantity:

    数量

  • Price:

    单价

  • Total:

    金额

  • TaxRate:

    税率

  • Tax:

    税额

  • DateStart:

    通行日期起

  • DateEnd:

    通行日期止

  • LicensePlate:

    车牌号

  • VehicleType:

    车辆类型

  • SerialNumber:

    序号



12777
12778
12779
# File 'lib/v20181119/models.rb', line 12777

def VehicleType
  @VehicleType
end

Instance Method Details

#deserialize(params) ⇒ Object



12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
# File 'lib/v20181119/models.rb', line 12795

def deserialize(params)
  @Name = params['Name']
  @Specification = params['Specification']
  @Unit = params['Unit']
  @Quantity = params['Quantity']
  @Price = params['Price']
  @Total = params['Total']
  @TaxRate = params['TaxRate']
  @Tax = params['Tax']
  @DateStart = params['DateStart']
  @DateEnd = params['DateEnd']
  @LicensePlate = params['LicensePlate']
  @VehicleType = params['VehicleType']
  @SerialNumber = params['SerialNumber']
end