Class: TencentCloud::Ocr::V20181119::VatElectronicItemInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatElectronicItemInfo
- Defined in:
- lib/v20181119/models.rb
Overview
电子发票详细条目信息
Instance Attribute Summary collapse
- #AreaUnit ⇒ Object
- #ArrivalPlace ⇒ Object
- #BuildingName ⇒ Object
- #DeparturePlace ⇒ Object
- #EstateNumber ⇒ Object
- #Name ⇒ Object
- #PlaceOfBuildingService ⇒ Object
- #Price ⇒ Object
- #Quantity ⇒ Object
- #Specification ⇒ Object
- #Tax ⇒ Object
- #TaxRate ⇒ Object
- #Total ⇒ Object
- #TransportItemsName ⇒ Object
- #Unit ⇒ Object
- #VehicleBrand ⇒ Object
- #VehicleType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, quantity = nil, specification = nil, price = nil, total = nil, taxrate = nil, tax = nil, unit = nil, vehicletype = nil, vehiclebrand = nil, departureplace = nil, arrivalplace = nil, transportitemsname = nil, placeofbuildingservice = nil, buildingname = nil, estatenumber = nil, areaunit = nil) ⇒ VatElectronicItemInfo
constructor
A new instance of VatElectronicItemInfo.
Constructor Details
#initialize(name = nil, quantity = nil, specification = nil, price = nil, total = nil, taxrate = nil, tax = nil, unit = nil, vehicletype = nil, vehiclebrand = nil, departureplace = nil, arrivalplace = nil, transportitemsname = nil, placeofbuildingservice = nil, buildingname = nil, estatenumber = nil, areaunit = nil) ⇒ VatElectronicItemInfo
Returns a new instance of VatElectronicItemInfo.
13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 |
# File 'lib/v20181119/models.rb', line 13141 def initialize(name=nil, quantity=nil, specification=nil, price=nil, total=nil, taxrate=nil, tax=nil, unit=nil, vehicletype=nil, vehiclebrand=nil, departureplace=nil, arrivalplace=nil, transportitemsname=nil, placeofbuildingservice=nil, buildingname=nil, estatenumber=nil, areaunit=nil) @Name = name @Quantity = quantity @Specification = specification @Price = price @Total = total @TaxRate = taxrate @Tax = tax @Unit = unit @VehicleType = vehicletype @VehicleBrand = vehiclebrand @DeparturePlace = departureplace @ArrivalPlace = arrivalplace @TransportItemsName = transportitemsname @PlaceOfBuildingService = placeofbuildingservice @BuildingName = buildingname @EstateNumber = estatenumber @AreaUnit = areaunit end |
Instance Attribute Details
#AreaUnit ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def AreaUnit @AreaUnit end |
#ArrivalPlace ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def ArrivalPlace @ArrivalPlace end |
#BuildingName ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def BuildingName @BuildingName end |
#DeparturePlace ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def DeparturePlace @DeparturePlace end |
#EstateNumber ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def EstateNumber @EstateNumber end |
#Name ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Name @Name end |
#PlaceOfBuildingService ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def PlaceOfBuildingService @PlaceOfBuildingService end |
#Price ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Price @Price end |
#Quantity ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Quantity @Quantity end |
#Specification ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Specification @Specification end |
#Tax ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Tax @Tax end |
#TaxRate ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def TaxRate @TaxRate end |
#Total ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Total @Total end |
#TransportItemsName ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def TransportItemsName @TransportItemsName end |
#Unit ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def Unit @Unit end |
#VehicleBrand ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
13139 13140 13141 |
# File 'lib/v20181119/models.rb', line 13139 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 |
# File 'lib/v20181119/models.rb', line 13161 def deserialize(params) @Name = params['Name'] @Quantity = params['Quantity'] @Specification = params['Specification'] @Price = params['Price'] @Total = params['Total'] @TaxRate = params['TaxRate'] @Tax = params['Tax'] @Unit = params['Unit'] @VehicleType = params['VehicleType'] @VehicleBrand = params['VehicleBrand'] @DeparturePlace = params['DeparturePlace'] @ArrivalPlace = params['ArrivalPlace'] @TransportItemsName = params['TransportItemsName'] @PlaceOfBuildingService = params['PlaceOfBuildingService'] @BuildingName = params['BuildingName'] @EstateNumber = params['EstateNumber'] @AreaUnit = params['AreaUnit'] end |