Class: TencentCloud::Ocr::V20181119::ElectronicTrainTicketFull
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ElectronicTrainTicketFull
- Defined in:
- lib/v20181119/models.rb
Overview
电子发票(火车票)
Instance Attribute Summary collapse
- #Buyer ⇒ Object
- #BuyerTaxID ⇒ Object
- #Date ⇒ Object
- #DateGetOn ⇒ Object
- #ElectronicTicketNum ⇒ Object
- #Fare ⇒ Object
- #IDInfo ⇒ Object
- #Number ⇒ Object
- #OriginalNumber ⇒ Object
- #Seat ⇒ Object
- #SeatNumber ⇒ Object
- #StationGetOff ⇒ Object
- #StationGetOn ⇒ Object
- #Tax ⇒ Object
- #TaxRate ⇒ Object
- #TimeGetOn ⇒ Object
- #Total ⇒ Object
- #TrainNumber ⇒ Object
- #TypeOfVoucher ⇒ Object
- #UserID ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(typeofvoucher = nil, electronicticketnum = nil, date = nil, stationgeton = nil, stationgetoff = nil, trainnumber = nil, dategeton = nil, timegeton = nil, seat = nil, seatnumber = nil, fare = nil, number = nil, userid = nil, username = nil, total = nil, taxrate = nil, tax = nil, buyer = nil, buyertaxid = nil, originalnumber = nil, idinfo = nil) ⇒ ElectronicTrainTicketFull
constructor
A new instance of ElectronicTrainTicketFull.
Constructor Details
#initialize(typeofvoucher = nil, electronicticketnum = nil, date = nil, stationgeton = nil, stationgetoff = nil, trainnumber = nil, dategeton = nil, timegeton = nil, seat = nil, seatnumber = nil, fare = nil, number = nil, userid = nil, username = nil, total = nil, taxrate = nil, tax = nil, buyer = nil, buyertaxid = nil, originalnumber = nil, idinfo = nil) ⇒ ElectronicTrainTicketFull
Returns a new instance of ElectronicTrainTicketFull.
2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 |
# File 'lib/v20181119/models.rb', line 2681 def initialize(typeofvoucher=nil, electronicticketnum=nil, date=nil, stationgeton=nil, stationgetoff=nil, trainnumber=nil, dategeton=nil, timegeton=nil, seat=nil, seatnumber=nil, fare=nil, number=nil, userid=nil, username=nil, total=nil, taxrate=nil, tax=nil, buyer=nil, buyertaxid=nil, originalnumber=nil, idinfo=nil) @TypeOfVoucher = typeofvoucher @ElectronicTicketNum = electronicticketnum @Date = date @StationGetOn = stationgeton @StationGetOff = stationgetoff @TrainNumber = trainnumber @DateGetOn = dategeton @TimeGetOn = timegeton @Seat = seat @SeatNumber = seatnumber @Fare = fare @Number = number @UserID = userid @UserName = username @Total = total @TaxRate = taxrate @Tax = tax @Buyer = buyer @BuyerTaxID = buyertaxid @OriginalNumber = originalnumber @IDInfo = idinfo end |
Instance Attribute Details
#Buyer ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def BuyerTaxID @BuyerTaxID end |
#Date ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Date @Date end |
#DateGetOn ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def DateGetOn @DateGetOn end |
#ElectronicTicketNum ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def ElectronicTicketNum @ElectronicTicketNum end |
#Fare ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Fare @Fare end |
#IDInfo ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def IDInfo @IDInfo end |
#Number ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Number @Number end |
#OriginalNumber ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def OriginalNumber @OriginalNumber end |
#Seat ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Seat @Seat end |
#SeatNumber ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def SeatNumber @SeatNumber end |
#StationGetOff ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def StationGetOn @StationGetOn end |
#Tax ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Tax @Tax end |
#TaxRate ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def TaxRate @TaxRate end |
#TimeGetOn ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def TimeGetOn @TimeGetOn end |
#Total ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def Total @Total end |
#TrainNumber ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def TrainNumber @TrainNumber end |
#TypeOfVoucher ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def TypeOfVoucher @TypeOfVoucher end |
#UserID ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def UserID @UserID end |
#UserName ⇒ Object
2679 2680 2681 |
# File 'lib/v20181119/models.rb', line 2679 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 |
# File 'lib/v20181119/models.rb', line 2705 def deserialize(params) @TypeOfVoucher = params['TypeOfVoucher'] @ElectronicTicketNum = params['ElectronicTicketNum'] @Date = params['Date'] @StationGetOn = params['StationGetOn'] @StationGetOff = params['StationGetOff'] @TrainNumber = params['TrainNumber'] @DateGetOn = params['DateGetOn'] @TimeGetOn = params['TimeGetOn'] @Seat = params['Seat'] @SeatNumber = params['SeatNumber'] @Fare = params['Fare'] @Number = params['Number'] @UserID = params['UserID'] @UserName = params['UserName'] @Total = params['Total'] @TaxRate = params['TaxRate'] @Tax = params['Tax'] @Buyer = params['Buyer'] @BuyerTaxID = params['BuyerTaxID'] @OriginalNumber = params['OriginalNumber'] @IDInfo = params['IDInfo'] end |