Class: TencentCloud::Ocr::V20181119::TrainTicketOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TrainTicketOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
TrainTicketOCR返回参数结构体
Instance Attribute Summary collapse
- #AdditionalCost ⇒ Object
- #Date ⇒ Object
- #DestinationStation ⇒ Object
- #HandlingFee ⇒ Object
- #ID ⇒ Object
- #InvoiceStyle ⇒ Object
- #InvoiceType ⇒ Object
- #IsReceipt ⇒ Object
- #LegalAmount ⇒ Object
- #Name ⇒ Object
- #OriginalPrice ⇒ Object
- #Price ⇒ Object
- #ReceiptNumber ⇒ Object
- #RequestId ⇒ Object
- #Seat ⇒ Object
- #SeatCategory ⇒ Object
- #SerialNumber ⇒ Object
- #StartStation ⇒ Object
- #TicketNum ⇒ Object
- #TicketStation ⇒ Object
- #TrainNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ticketnum = nil, startstation = nil, destinationstation = nil, date = nil, trainnum = nil, seat = nil, name = nil, price = nil, seatcategory = nil, id = nil, invoicetype = nil, serialnumber = nil, additionalcost = nil, handlingfee = nil, legalamount = nil, ticketstation = nil, originalprice = nil, invoicestyle = nil, receiptnumber = nil, isreceipt = nil, requestid = nil) ⇒ TrainTicketOCRResponse
constructor
A new instance of TrainTicketOCRResponse.
Constructor Details
#initialize(ticketnum = nil, startstation = nil, destinationstation = nil, date = nil, trainnum = nil, seat = nil, name = nil, price = nil, seatcategory = nil, id = nil, invoicetype = nil, serialnumber = nil, additionalcost = nil, handlingfee = nil, legalamount = nil, ticketstation = nil, originalprice = nil, invoicestyle = nil, receiptnumber = nil, isreceipt = nil, requestid = nil) ⇒ TrainTicketOCRResponse
Returns a new instance of TrainTicketOCRResponse.
12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 |
# File 'lib/v20181119/models.rb', line 12650 def initialize(ticketnum=nil, startstation=nil, destinationstation=nil, date=nil, trainnum=nil, seat=nil, name=nil, price=nil, seatcategory=nil, id=nil, invoicetype=nil, serialnumber=nil, additionalcost=nil, handlingfee=nil, legalamount=nil, ticketstation=nil, originalprice=nil, invoicestyle=nil, receiptnumber=nil, isreceipt=nil, requestid=nil) @TicketNum = ticketnum @StartStation = startstation @DestinationStation = destinationstation @Date = date @TrainNum = trainnum @Seat = seat @Name = name @Price = price @SeatCategory = seatcategory @ID = id @InvoiceType = invoicetype @SerialNumber = serialnumber @AdditionalCost = additionalcost @HandlingFee = handlingfee @LegalAmount = legalamount @TicketStation = ticketstation @OriginalPrice = originalprice @InvoiceStyle = invoicestyle @ReceiptNumber = receiptnumber @IsReceipt = isreceipt @RequestId = requestid end |
Instance Attribute Details
#AdditionalCost ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def AdditionalCost @AdditionalCost end |
#Date ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def Date @Date end |
#DestinationStation ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def DestinationStation @DestinationStation end |
#HandlingFee ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def HandlingFee @HandlingFee end |
#ID ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def ID @ID end |
#InvoiceStyle ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def InvoiceStyle @InvoiceStyle end |
#InvoiceType ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def InvoiceType @InvoiceType end |
#IsReceipt ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def IsReceipt @IsReceipt end |
#LegalAmount ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def LegalAmount @LegalAmount end |
#Name ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def Name @Name end |
#OriginalPrice ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def OriginalPrice @OriginalPrice end |
#Price ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def Price @Price end |
#ReceiptNumber ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def ReceiptNumber @ReceiptNumber end |
#RequestId ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def RequestId @RequestId end |
#Seat ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def Seat @Seat end |
#SeatCategory ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def SeatCategory @SeatCategory end |
#SerialNumber ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def SerialNumber @SerialNumber end |
#StartStation ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def StartStation @StartStation end |
#TicketNum ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def TicketNum @TicketNum end |
#TicketStation ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def TicketStation @TicketStation end |
#TrainNum ⇒ Object
12648 12649 12650 |
# File 'lib/v20181119/models.rb', line 12648 def TrainNum @TrainNum end |
Instance Method Details
#deserialize(params) ⇒ Object
12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 |
# File 'lib/v20181119/models.rb', line 12674 def deserialize(params) @TicketNum = params['TicketNum'] @StartStation = params['StartStation'] @DestinationStation = params['DestinationStation'] @Date = params['Date'] @TrainNum = params['TrainNum'] @Seat = params['Seat'] @Name = params['Name'] @Price = params['Price'] @SeatCategory = params['SeatCategory'] @ID = params['ID'] @InvoiceType = params['InvoiceType'] @SerialNumber = params['SerialNumber'] @AdditionalCost = params['AdditionalCost'] @HandlingFee = params['HandlingFee'] @LegalAmount = params['LegalAmount'] @TicketStation = params['TicketStation'] @OriginalPrice = params['OriginalPrice'] @InvoiceStyle = params['InvoiceStyle'] @ReceiptNumber = params['ReceiptNumber'] @IsReceipt = params['IsReceipt'] @RequestId = params['RequestId'] end |