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
- #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) ⇒ 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) ⇒ ElectronicTrainTicketFull
Returns a new instance of ElectronicTrainTicketFull.
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 |
# File 'lib/v20181119/models.rb', line 2506 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) @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 end |
Instance Attribute Details
#Buyer ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def BuyerTaxID @BuyerTaxID end |
#Date ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Date @Date end |
#DateGetOn ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def DateGetOn @DateGetOn end |
#ElectronicTicketNum ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def ElectronicTicketNum @ElectronicTicketNum end |
#Fare ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Fare @Fare end |
#Number ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Number @Number end |
#OriginalNumber ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def OriginalNumber @OriginalNumber end |
#Seat ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Seat @Seat end |
#SeatNumber ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def SeatNumber @SeatNumber end |
#StationGetOff ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def StationGetOn @StationGetOn end |
#Tax ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Tax @Tax end |
#TaxRate ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def TaxRate @TaxRate end |
#TimeGetOn ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def TimeGetOn @TimeGetOn end |
#Total ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def Total @Total end |
#TrainNumber ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def TrainNumber @TrainNumber end |
#TypeOfVoucher ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def TypeOfVoucher @TypeOfVoucher end |
#UserID ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def UserID @UserID end |
#UserName ⇒ Object
2504 2505 2506 |
# File 'lib/v20181119/models.rb', line 2504 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20181119/models.rb', line 2529 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'] end |