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.
13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 |
# File 'lib/v20181119/models.rb', line 13562 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
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def AreaUnit @AreaUnit end |
#ArrivalPlace ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def ArrivalPlace @ArrivalPlace end |
#BuildingName ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def BuildingName @BuildingName end |
#DeparturePlace ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def DeparturePlace @DeparturePlace end |
#EstateNumber ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def EstateNumber @EstateNumber end |
#Name ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Name @Name end |
#PlaceOfBuildingService ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def PlaceOfBuildingService @PlaceOfBuildingService end |
#Price ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Price @Price end |
#Quantity ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Quantity @Quantity end |
#Specification ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Specification @Specification end |
#Tax ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Tax @Tax end |
#TaxRate ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def TaxRate @TaxRate end |
#Total ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Total @Total end |
#TransportItemsName ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def TransportItemsName @TransportItemsName end |
#TravelDate ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def TravelDate @TravelDate end |
#Traveler ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Traveler @Traveler end |
#TravelerID ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def TravelerID @TravelerID end |
#TravelLevel ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def TravelLevel @TravelLevel end |
#Unit ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def Unit @Unit end |
#VehicleBrand ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def VehicleBrand @VehicleBrand end |
#VehicleType ⇒ Object
13560 13561 13562 |
# File 'lib/v20181119/models.rb', line 13560 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 |
# File 'lib/v20181119/models.rb', line 13586 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 |