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.
13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 |
# File 'lib/v20181119/models.rb', line 13703 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
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def DateEnd @DateEnd end |
#DateStart ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def DateStart @DateStart end |
#LicensePlate ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def LicensePlate @LicensePlate end |
#Name ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Name @Name end |
#Price ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Price @Price end |
#Quantity ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Quantity @Quantity end |
#SerialNumber ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def SerialNumber @SerialNumber end |
#Specification ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Specification @Specification end |
#Tax ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Tax @Tax end |
#TaxRate ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def TaxRate @TaxRate end |
#Total ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Total @Total end |
#Unit ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def Unit @Unit end |
#VehicleType ⇒ Object
13701 13702 13703 |
# File 'lib/v20181119/models.rb', line 13701 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 |
# File 'lib/v20181119/models.rb', line 13719 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 |