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
- #TravelDate ⇒ Object
- #Traveler ⇒ Object
- #TravelerID ⇒ Object
- #TravelLevel ⇒ 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, traveler = nil, travelerid = nil, traveldate = nil, travellevel = 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, traveler = nil, travelerid = nil, traveldate = nil, travellevel = nil) ⇒ VatElectronicItemInfo
Returns a new instance of VatElectronicItemInfo.
13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 |
# File 'lib/v20181119/models.rb', line 13392 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, traveler=nil, travelerid=nil, traveldate=nil, travellevel=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 @Traveler = traveler @TravelerID = travelerid @TravelDate = traveldate @TravelLevel = travellevel end |
Instance Attribute Details
#AreaUnit ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def AreaUnit @AreaUnit end |
#ArrivalPlace ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def ArrivalPlace @ArrivalPlace end |
#BuildingName ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def BuildingName @BuildingName end |
#DeparturePlace ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def DeparturePlace @DeparturePlace end |
#EstateNumber ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def EstateNumber @EstateNumber end |
#Name ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Name @Name end |
#PlaceOfBuildingService ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def PlaceOfBuildingService @PlaceOfBuildingService end |
#Price ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Price @Price end |
#Quantity ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Quantity @Quantity end |
#Specification ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Specification @Specification end |
#Tax ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Tax @Tax end |
#TaxRate ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def TaxRate @TaxRate end |
#Total ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Total @Total end |
#TransportItemsName ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def TransportItemsName @TransportItemsName end |
#TravelDate ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def TravelDate @TravelDate end |
#Traveler ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Traveler @Traveler end |
#TravelerID ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def TravelerID @TravelerID end |
#TravelLevel ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def TravelLevel @TravelLevel end |
#Unit ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def Unit @Unit end |
#VehicleBrand ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
13390 13391 13392 |
# File 'lib/v20181119/models.rb', line 13390 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 |
# File 'lib/v20181119/models.rb', line 13416 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'] @Traveler = params['Traveler'] @TravelerID = params['TravelerID'] @TravelDate = params['TravelDate'] @TravelLevel = params['TravelLevel'] end |