Class: TencentCloud::Ocr::V20181119::RailwayTicketInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::RailwayTicketInfo
- Defined in:
- lib/v20181119/models.rb
Overview
铁路电子客票信息
Instance Attribute Summary collapse
- #AirConditioningCharacteristics ⇒ Object
- #Carriage ⇒ Object
- #DateOfIssue ⇒ Object
- #DepartureStation ⇒ Object
- #DepartureTime ⇒ Object
- #DestinationStation ⇒ Object
- #ElectronicInvoiceRailwayETicketNumber ⇒ Object
- #ElectronicTicketNum ⇒ Object
- #Fare ⇒ Object
- #IdNumber ⇒ Object
- #Name ⇒ Object
- #NameOfPurchaser ⇒ Object
- #NumberOfOriginalInvoice ⇒ Object
- #PhonicsOfDepartureStation ⇒ Object
- #PhonicsOfDestinationStation ⇒ Object
- #Seat ⇒ Object
- #SeatLevel ⇒ Object
- #TaxAmount ⇒ Object
- #TaxRate ⇒ Object
- #TotalAmountExcludingTax ⇒ Object
- #TrainNumber ⇒ Object
- #TravelDate ⇒ Object
- #TypeOfBusiness ⇒ Object
- #TypeOfVoucher ⇒ Object
- #UnifiedSocialCreditCodeOfPurchaser ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(typeofvoucher = nil, electronicticketnum = nil, dateofissue = nil, typeofbusiness = nil, departurestation = nil, phonicsofdeparturestation = nil, destinationstation = nil, phonicsofdestinationstation = nil, trainnumber = nil, traveldate = nil, departuretime = nil, airconditioningcharacteristics = nil, seatlevel = nil, carriage = nil, seat = nil, fare = nil, electronicinvoicerailwayeticketnumber = nil, idnumber = nil, name = nil, totalamountexcludingtax = nil, taxrate = nil, taxamount = nil, nameofpurchaser = nil, unifiedsocialcreditcodeofpurchaser = nil, numberoforiginalinvoice = nil) ⇒ RailwayTicketInfo
constructor
A new instance of RailwayTicketInfo.
Constructor Details
#initialize(typeofvoucher = nil, electronicticketnum = nil, dateofissue = nil, typeofbusiness = nil, departurestation = nil, phonicsofdeparturestation = nil, destinationstation = nil, phonicsofdestinationstation = nil, trainnumber = nil, traveldate = nil, departuretime = nil, airconditioningcharacteristics = nil, seatlevel = nil, carriage = nil, seat = nil, fare = nil, electronicinvoicerailwayeticketnumber = nil, idnumber = nil, name = nil, totalamountexcludingtax = nil, taxrate = nil, taxamount = nil, nameofpurchaser = nil, unifiedsocialcreditcodeofpurchaser = nil, numberoforiginalinvoice = nil) ⇒ RailwayTicketInfo
Returns a new instance of RailwayTicketInfo.
7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 |
# File 'lib/v20181119/models.rb', line 7545 def initialize(typeofvoucher=nil, electronicticketnum=nil, dateofissue=nil, typeofbusiness=nil, departurestation=nil, phonicsofdeparturestation=nil, destinationstation=nil, phonicsofdestinationstation=nil, trainnumber=nil, traveldate=nil, departuretime=nil, airconditioningcharacteristics=nil, seatlevel=nil, carriage=nil, seat=nil, fare=nil, electronicinvoicerailwayeticketnumber=nil, idnumber=nil, name=nil, totalamountexcludingtax=nil, taxrate=nil, taxamount=nil, nameofpurchaser=nil, =nil, numberoforiginalinvoice=nil) @TypeOfVoucher = typeofvoucher @ElectronicTicketNum = electronicticketnum @DateOfIssue = dateofissue @TypeOfBusiness = typeofbusiness @DepartureStation = departurestation @PhonicsOfDepartureStation = phonicsofdeparturestation @DestinationStation = destinationstation @PhonicsOfDestinationStation = phonicsofdestinationstation @TrainNumber = trainnumber @TravelDate = traveldate @DepartureTime = departuretime @AirConditioningCharacteristics = airconditioningcharacteristics @SeatLevel = seatlevel @Carriage = carriage @Seat = seat @Fare = fare @ElectronicInvoiceRailwayETicketNumber = electronicinvoicerailwayeticketnumber @IdNumber = idnumber @Name = name @TotalAmountExcludingTax = totalamountexcludingtax @TaxRate = taxrate @TaxAmount = taxamount @NameOfPurchaser = nameofpurchaser @UnifiedSocialCreditCodeOfPurchaser = @NumberOfOriginalInvoice = numberoforiginalinvoice end |
Instance Attribute Details
#AirConditioningCharacteristics ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def AirConditioningCharacteristics @AirConditioningCharacteristics end |
#Carriage ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def Carriage @Carriage end |
#DateOfIssue ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def DateOfIssue @DateOfIssue end |
#DepartureStation ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def DepartureStation @DepartureStation end |
#DepartureTime ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def DepartureTime @DepartureTime end |
#DestinationStation ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def DestinationStation @DestinationStation end |
#ElectronicInvoiceRailwayETicketNumber ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def ElectronicInvoiceRailwayETicketNumber @ElectronicInvoiceRailwayETicketNumber end |
#ElectronicTicketNum ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def ElectronicTicketNum @ElectronicTicketNum end |
#Fare ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def Fare @Fare end |
#IdNumber ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def IdNumber @IdNumber end |
#Name ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def Name @Name end |
#NameOfPurchaser ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def NameOfPurchaser @NameOfPurchaser end |
#NumberOfOriginalInvoice ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def NumberOfOriginalInvoice @NumberOfOriginalInvoice end |
#PhonicsOfDepartureStation ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def PhonicsOfDepartureStation @PhonicsOfDepartureStation end |
#PhonicsOfDestinationStation ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def PhonicsOfDestinationStation @PhonicsOfDestinationStation end |
#Seat ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def Seat @Seat end |
#SeatLevel ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def SeatLevel @SeatLevel end |
#TaxAmount ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TaxAmount @TaxAmount end |
#TaxRate ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TaxRate @TaxRate end |
#TotalAmountExcludingTax ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TotalAmountExcludingTax @TotalAmountExcludingTax end |
#TrainNumber ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TrainNumber @TrainNumber end |
#TravelDate ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TravelDate @TravelDate end |
#TypeOfBusiness ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TypeOfBusiness @TypeOfBusiness end |
#TypeOfVoucher ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def TypeOfVoucher @TypeOfVoucher end |
#UnifiedSocialCreditCodeOfPurchaser ⇒ Object
7543 7544 7545 |
# File 'lib/v20181119/models.rb', line 7543 def UnifiedSocialCreditCodeOfPurchaser @UnifiedSocialCreditCodeOfPurchaser end |
Instance Method Details
#deserialize(params) ⇒ Object
7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 |
# File 'lib/v20181119/models.rb', line 7573 def deserialize(params) @TypeOfVoucher = params['TypeOfVoucher'] @ElectronicTicketNum = params['ElectronicTicketNum'] @DateOfIssue = params['DateOfIssue'] @TypeOfBusiness = params['TypeOfBusiness'] @DepartureStation = params['DepartureStation'] @PhonicsOfDepartureStation = params['PhonicsOfDepartureStation'] @DestinationStation = params['DestinationStation'] @PhonicsOfDestinationStation = params['PhonicsOfDestinationStation'] @TrainNumber = params['TrainNumber'] @TravelDate = params['TravelDate'] @DepartureTime = params['DepartureTime'] @AirConditioningCharacteristics = params['AirConditioningCharacteristics'] @SeatLevel = params['SeatLevel'] @Carriage = params['Carriage'] @Seat = params['Seat'] @Fare = params['Fare'] @ElectronicInvoiceRailwayETicketNumber = params['ElectronicInvoiceRailwayETicketNumber'] @IdNumber = params['IdNumber'] @Name = params['Name'] @TotalAmountExcludingTax = params['TotalAmountExcludingTax'] @TaxRate = params['TaxRate'] @TaxAmount = params['TaxAmount'] @NameOfPurchaser = params['NameOfPurchaser'] @UnifiedSocialCreditCodeOfPurchaser = params['UnifiedSocialCreditCodeOfPurchaser'] @NumberOfOriginalInvoice = params['NumberOfOriginalInvoice'] end |