Class: TencentCloud::Ocr::V20181119::VatInvoiceItemInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceItemInfo
- Defined in:
- lib/v20181119/models.rb
Overview
增值税发票项目信息
Instance Attribute Summary collapse
- #DateEnd ⇒ Object
- #DateStart ⇒ Object
- #LicensePlate ⇒ Object
- #Name ⇒ Object
- #Price ⇒ Object
- #Quantity ⇒ Object
- #SerialNumber ⇒ Object
- #Specification ⇒ Object
- #Tax ⇒ Object
- #TaxRate ⇒ Object
- #Total ⇒ Object
- #Unit ⇒ Object
- #VehicleType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of VatInvoiceItemInfo.
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.
13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 |
# File 'lib/v20181119/models.rb', line 13962 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
#DateEnd ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def DateEnd @DateEnd end |
#DateStart ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def DateStart @DateStart end |
#LicensePlate ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def LicensePlate @LicensePlate end |
#Name ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Name @Name end |
#Price ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Price @Price end |
#Quantity ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Quantity @Quantity end |
#SerialNumber ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def SerialNumber @SerialNumber end |
#Specification ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Specification @Specification end |
#Tax ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Tax @Tax end |
#TaxRate ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def TaxRate @TaxRate end |
#Total ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Total @Total end |
#Unit ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def Unit @Unit end |
#VehicleType ⇒ Object
13960 13961 13962 |
# File 'lib/v20181119/models.rb', line 13960 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 |
# File 'lib/v20181119/models.rb', line 13978 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 |