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.
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
#DateEnd ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def DateEnd @DateEnd end |
#DateStart ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def DateStart @DateStart end |
#LicensePlate ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def LicensePlate @LicensePlate end |
#Name ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Name @Name end |
#Price ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Price @Price end |
#Quantity ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Quantity @Quantity end |
#SerialNumber ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def SerialNumber @SerialNumber end |
#Specification ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Specification @Specification end |
#Tax ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Tax @Tax end |
#TaxRate ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def TaxRate @TaxRate end |
#Total ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Total @Total end |
#Unit ⇒ Object
12777 12778 12779 |
# File 'lib/v20181119/models.rb', line 12777 def Unit @Unit end |
#VehicleType ⇒ Object
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 |