Class: TencentCloud::Ocr::V20181119::TrainTicket
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TrainTicket
- Defined in:
- lib/v20181119/models.rb
Overview
火车票
Instance Attribute Summary collapse
- #AdditionalFare ⇒ Object
- #DateGetOn ⇒ Object
- #GateNumber ⇒ Object
- #HandlingFee ⇒ Object
- #Kind ⇒ Object
- #Name ⇒ Object
- #Number ⇒ Object
- #OriginalFare ⇒ Object
- #PickUpAddress ⇒ Object
- #QRCodeMark ⇒ Object
- #ReceiptNumber ⇒ Object
- #RefundMark ⇒ Object
- #ReimburseOnlyMark ⇒ Object
- #Seat ⇒ Object
- #SeatNumber ⇒ Object
- #SerialNumber ⇒ Object
- #StationGetOff ⇒ Object
- #StationGetOn ⇒ Object
- #TicketChange ⇒ Object
- #TicketChangeMark ⇒ Object
- #TimeGetOn ⇒ Object
- #Title ⇒ Object
- #Total ⇒ Object
- #TotalCn ⇒ Object
- #TrainNumber ⇒ Object
- #UserID ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, number = nil, dategeton = nil, timegeton = nil, name = nil, stationgeton = nil, stationgetoff = nil, seat = nil, total = nil, kind = nil, serialnumber = nil, userid = nil, gatenumber = nil, trainnumber = nil, handlingfee = nil, originalfare = nil, totalcn = nil, seatnumber = nil, pickupaddress = nil, ticketchange = nil, additionalfare = nil, receiptnumber = nil, qrcodemark = nil, reimburseonlymark = nil, refundmark = nil, ticketchangemark = nil) ⇒ TrainTicket
constructor
A new instance of TrainTicket.
Constructor Details
#initialize(title = nil, number = nil, dategeton = nil, timegeton = nil, name = nil, stationgeton = nil, stationgetoff = nil, seat = nil, total = nil, kind = nil, serialnumber = nil, userid = nil, gatenumber = nil, trainnumber = nil, handlingfee = nil, originalfare = nil, totalcn = nil, seatnumber = nil, pickupaddress = nil, ticketchange = nil, additionalfare = nil, receiptnumber = nil, qrcodemark = nil, reimburseonlymark = nil, refundmark = nil, ticketchangemark = nil) ⇒ TrainTicket
Returns a new instance of TrainTicket.
12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 |
# File 'lib/v20181119/models.rb', line 12509 def initialize(title=nil, number=nil, dategeton=nil, timegeton=nil, name=nil, stationgeton=nil, stationgetoff=nil, seat=nil, total=nil, kind=nil, serialnumber=nil, userid=nil, gatenumber=nil, trainnumber=nil, handlingfee=nil, originalfare=nil, totalcn=nil, seatnumber=nil, pickupaddress=nil, ticketchange=nil, additionalfare=nil, receiptnumber=nil, qrcodemark=nil, reimburseonlymark=nil, refundmark=nil, ticketchangemark=nil) @Title = title @Number = number @DateGetOn = dategeton @TimeGetOn = timegeton @Name = name @StationGetOn = stationgeton @StationGetOff = stationgetoff @Seat = seat @Total = total @Kind = kind @SerialNumber = serialnumber @UserID = userid @GateNumber = gatenumber @TrainNumber = trainnumber @HandlingFee = handlingfee @OriginalFare = originalfare @TotalCn = totalcn @SeatNumber = seatnumber @PickUpAddress = pickupaddress @TicketChange = ticketchange @AdditionalFare = additionalfare @ReceiptNumber = receiptnumber @QRCodeMark = qrcodemark @ReimburseOnlyMark = reimburseonlymark @RefundMark = refundmark @TicketChangeMark = ticketchangemark end |
Instance Attribute Details
#AdditionalFare ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def AdditionalFare @AdditionalFare end |
#DateGetOn ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def DateGetOn @DateGetOn end |
#GateNumber ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def GateNumber @GateNumber end |
#HandlingFee ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def HandlingFee @HandlingFee end |
#Kind ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Kind @Kind end |
#Name ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Name @Name end |
#Number ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Number @Number end |
#OriginalFare ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def OriginalFare @OriginalFare end |
#PickUpAddress ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def PickUpAddress @PickUpAddress end |
#QRCodeMark ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def QRCodeMark @QRCodeMark end |
#ReceiptNumber ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def ReceiptNumber @ReceiptNumber end |
#RefundMark ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def RefundMark @RefundMark end |
#ReimburseOnlyMark ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def ReimburseOnlyMark @ReimburseOnlyMark end |
#Seat ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Seat @Seat end |
#SeatNumber ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def SeatNumber @SeatNumber end |
#SerialNumber ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def SerialNumber @SerialNumber end |
#StationGetOff ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def StationGetOff @StationGetOff end |
#StationGetOn ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def StationGetOn @StationGetOn end |
#TicketChange ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def TicketChange @TicketChange end |
#TicketChangeMark ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def TicketChangeMark @TicketChangeMark end |
#TimeGetOn ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def TimeGetOn @TimeGetOn end |
#Title ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Title @Title end |
#Total ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def Total @Total end |
#TotalCn ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def TotalCn @TotalCn end |
#TrainNumber ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def TrainNumber @TrainNumber end |
#UserID ⇒ Object
12507 12508 12509 |
# File 'lib/v20181119/models.rb', line 12507 def UserID @UserID end |
Instance Method Details
#deserialize(params) ⇒ Object
12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 |
# File 'lib/v20181119/models.rb', line 12538 def deserialize(params) @Title = params['Title'] @Number = params['Number'] @DateGetOn = params['DateGetOn'] @TimeGetOn = params['TimeGetOn'] @Name = params['Name'] @StationGetOn = params['StationGetOn'] @StationGetOff = params['StationGetOff'] @Seat = params['Seat'] @Total = params['Total'] @Kind = params['Kind'] @SerialNumber = params['SerialNumber'] @UserID = params['UserID'] @GateNumber = params['GateNumber'] @TrainNumber = params['TrainNumber'] @HandlingFee = params['HandlingFee'] @OriginalFare = params['OriginalFare'] @TotalCn = params['TotalCn'] @SeatNumber = params['SeatNumber'] @PickUpAddress = params['PickUpAddress'] @TicketChange = params['TicketChange'] @AdditionalFare = params['AdditionalFare'] @ReceiptNumber = params['ReceiptNumber'] @QRCodeMark = params['QRCodeMark'] @ReimburseOnlyMark = params['ReimburseOnlyMark'] @RefundMark = params['RefundMark'] @TicketChangeMark = params['TicketChangeMark'] end |