Class: TencentCloud::Ocr::V20181119::RailwayTicketInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

铁路电子客票信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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, unifiedsocialcreditcodeofpurchaser=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 = unifiedsocialcreditcodeofpurchaser
  @NumberOfOriginalInvoice = numberoforiginalinvoice
end

Instance Attribute Details

#AirConditioningCharacteristicsObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def AirConditioningCharacteristics
  @AirConditioningCharacteristics
end

#CarriageObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def Carriage
  @Carriage
end

#DateOfIssueObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def DateOfIssue
  @DateOfIssue
end

#DepartureStationObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def DepartureStation
  @DepartureStation
end

#DepartureTimeObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def DepartureTime
  @DepartureTime
end

#DestinationStationObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def DestinationStation
  @DestinationStation
end

#ElectronicInvoiceRailwayETicketNumberObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def ElectronicInvoiceRailwayETicketNumber
  @ElectronicInvoiceRailwayETicketNumber
end

#ElectronicTicketNumObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def ElectronicTicketNum
  @ElectronicTicketNum
end

#FareObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def Fare
  @Fare
end

#IdNumberObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def IdNumber
  @IdNumber
end

#NameObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def Name
  @Name
end

#NameOfPurchaserObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def NameOfPurchaser
  @NameOfPurchaser
end

#NumberOfOriginalInvoiceObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def NumberOfOriginalInvoice
  @NumberOfOriginalInvoice
end

#PhonicsOfDepartureStationObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def PhonicsOfDepartureStation
  @PhonicsOfDepartureStation
end

#PhonicsOfDestinationStationObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def PhonicsOfDestinationStation
  @PhonicsOfDestinationStation
end

#SeatObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def Seat
  @Seat
end

#SeatLevelObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def SeatLevel
  @SeatLevel
end

#TaxAmountObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TaxAmount
  @TaxAmount
end

#TaxRateObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TaxRate
  @TaxRate
end

#TotalAmountExcludingTaxObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TotalAmountExcludingTax
  @TotalAmountExcludingTax
end

#TrainNumberObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TrainNumber
  @TrainNumber
end

#TravelDateObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TravelDate
  @TravelDate
end

#TypeOfBusinessObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TypeOfBusiness
  @TypeOfBusiness
end

#TypeOfVoucherObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



7543
7544
7545
# File 'lib/v20181119/models.rb', line 7543

def TypeOfVoucher
  @TypeOfVoucher
end

#UnifiedSocialCreditCodeOfPurchaserObject

Parameters:

  • TypeOfVoucher:

    电子发票类型

  • ElectronicTicketNum:

    电子客票号

  • DateOfIssue:

    开票日期

  • TypeOfBusiness:

    售票或退票类型

  • DepartureStation:

    始发站

  • PhonicsOfDepartureStation:

    始发站英文

  • DestinationStation:

    到达站

  • PhonicsOfDestinationStation:

    到达站英文

  • TrainNumber:

    火车号

  • TravelDate:

    火车出发日期

  • DepartureTime:

    始发时间

  • AirConditioningCharacteristics:

    空调特点

  • SeatLevel:

    座位类型

  • Carriage:

    火车第几车

  • Seat:

    座位号

  • Fare:

    票价

  • ElectronicInvoiceRailwayETicketNumber:

    发票号码

  • IdNumber:

    身份证号

  • Name:

    姓名

  • TotalAmountExcludingTax:

    金额

  • TaxRate:

    税率

  • TaxAmount:

    税额

  • NameOfPurchaser:

    购买方名称

  • UnifiedSocialCreditCodeOfPurchaser:

    统一社会信用代码

  • NumberOfOriginalInvoice:

    原发票号码



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