Class: TencentCloud::Ocr::V20181119::BusInvoice
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BusInvoice
- Defined in:
- lib/v20181119/models.rb
Overview
汽车票
Instance Attribute Summary collapse
- #City ⇒ Object
- #Code ⇒ Object
- #Date ⇒ Object
- #DateGetOn ⇒ Object
- #GateNumber ⇒ Object
- #Kind ⇒ Object
- #Number ⇒ Object
- #PlaceGetOn ⇒ Object
- #Province ⇒ Object
- #QRCodeMark ⇒ Object
- #SeatNumber ⇒ Object
- #StationGetOff ⇒ Object
- #StationGetOn ⇒ Object
- #TicketType ⇒ Object
- #TimeGetOn ⇒ Object
- #Title ⇒ Object
- #Total ⇒ Object
- #TrainNumber ⇒ Object
- #UserID ⇒ Object
- #UserName ⇒ Object
- #VehicleType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, qrcodemark = nil, number = nil, code = nil, date = nil, timegeton = nil, dategeton = nil, stationgeton = nil, stationgetoff = nil, total = nil, username = nil, kind = nil, userid = nil, province = nil, city = nil, placegeton = nil, gatenumber = nil, tickettype = nil, vehicletype = nil, seatnumber = nil, trainnumber = nil) ⇒ BusInvoice
constructor
A new instance of BusInvoice.
Constructor Details
#initialize(title = nil, qrcodemark = nil, number = nil, code = nil, date = nil, timegeton = nil, dategeton = nil, stationgeton = nil, stationgetoff = nil, total = nil, username = nil, kind = nil, userid = nil, province = nil, city = nil, placegeton = nil, gatenumber = nil, tickettype = nil, vehicletype = nil, seatnumber = nil, trainnumber = nil) ⇒ BusInvoice
Returns a new instance of BusInvoice.
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 |
# File 'lib/v20181119/models.rb', line 818 def initialize(title=nil, qrcodemark=nil, number=nil, code=nil, date=nil, timegeton=nil, dategeton=nil, stationgeton=nil, stationgetoff=nil, total=nil, username=nil, kind=nil, userid=nil, province=nil, city=nil, placegeton=nil, gatenumber=nil, tickettype=nil, vehicletype=nil, seatnumber=nil, trainnumber=nil) @Title = title @QRCodeMark = qrcodemark @Number = number @Code = code @Date = date @TimeGetOn = timegeton @DateGetOn = dategeton @StationGetOn = stationgeton @StationGetOff = stationgetoff @Total = total @UserName = username @Kind = kind @UserID = userid @Province = province @City = city @PlaceGetOn = placegeton @GateNumber = gatenumber @TicketType = tickettype @VehicleType = vehicletype @SeatNumber = seatnumber @TrainNumber = trainnumber end |
Instance Attribute Details
#City ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def City @City end |
#Code ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Code @Code end |
#Date ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Date @Date end |
#DateGetOn ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def DateGetOn @DateGetOn end |
#GateNumber ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def GateNumber @GateNumber end |
#Kind ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Kind @Kind end |
#Number ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Number @Number end |
#PlaceGetOn ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def PlaceGetOn @PlaceGetOn end |
#Province ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Province @Province end |
#QRCodeMark ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def QRCodeMark @QRCodeMark end |
#SeatNumber ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def SeatNumber @SeatNumber end |
#StationGetOff ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def StationGetOn @StationGetOn end |
#TicketType ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def TicketType @TicketType end |
#TimeGetOn ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def TimeGetOn @TimeGetOn end |
#Title ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Title @Title end |
#Total ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def Total @Total end |
#TrainNumber ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def TrainNumber @TrainNumber end |
#UserID ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def UserID @UserID end |
#UserName ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def UserName @UserName end |
#VehicleType ⇒ Object
816 817 818 |
# File 'lib/v20181119/models.rb', line 816 def VehicleType @VehicleType end |
Instance Method Details
#deserialize(params) ⇒ Object
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 |
# File 'lib/v20181119/models.rb', line 842 def deserialize(params) @Title = params['Title'] @QRCodeMark = params['QRCodeMark'] @Number = params['Number'] @Code = params['Code'] @Date = params['Date'] @TimeGetOn = params['TimeGetOn'] @DateGetOn = params['DateGetOn'] @StationGetOn = params['StationGetOn'] @StationGetOff = params['StationGetOff'] @Total = params['Total'] @UserName = params['UserName'] @Kind = params['Kind'] @UserID = params['UserID'] @Province = params['Province'] @City = params['City'] @PlaceGetOn = params['PlaceGetOn'] @GateNumber = params['GateNumber'] @TicketType = params['TicketType'] @VehicleType = params['VehicleType'] @SeatNumber = params['SeatNumber'] @TrainNumber = params['TrainNumber'] end |