Enum Class TicketTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<TicketTypeEnum>,Constable
票据类型
- Author:
- Toint
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription飞机行程单(航空运输电子客票行程单)汽车票(公路客运票据)船票(水路客运票据)限额发票(有金额限制的发票)机动车销售统一发票(新车销售专用发票)其他未分类票据POS小票(刷卡消费的签购单)机打电子发票(电子形式但采用机打格式的发票)机打发票(通过税控系统打印的发票)定额发票(固定面额的发票)卷式发票(卷筒式打印的普通发票)购物小票(商场超市等消费凭证)网约车行程单(滴滴等网约车平台电子票据)出租车票(传统纸质出租车票)过路过桥费发票(高速公路等通行费票据)火车票(铁路客运票据)二手车销售统一发票(二手车交易专用发票)增值税发票(包含专票、普票、电子票等) -
Method Summary
Modifier and TypeMethodDescriptionstatic TicketTypeEnumReturns the enum constant of this class with the specified name.static TicketTypeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VAT_INVOICE
增值税发票(包含专票、普票、电子票等) -
TAXI_RECEIPT
出租车票(传统纸质出租车票) -
TRAIN_TICKET
火车票(铁路客运票据) -
QUOTA_INVOICE
定额发票(固定面额的发票) -
AIR_TICKET
飞机行程单(航空运输电子客票行程单) -
ROLL_NORMAL_INVOICE
卷式发票(卷筒式打印的普通发票) -
PRINTED_INVOICE
机打发票(通过税控系统打印的发票) -
PRINTED_ELEC_INVOICE
机打电子发票(电子形式但采用机打格式的发票) -
BUS_TICKET
汽车票(公路客运票据) -
TOLL_INVOICE
过路过桥费发票(高速公路等通行费票据) -
FERRY_TICKET
船票(水路客运票据) -
MOTOR_VEHICLE_INVOICE
机动车销售统一发票(新车销售专用发票) -
USED_VEHICLE_INVOICE
二手车销售统一发票(二手车交易专用发票) -
TAXI_ONLINE_TICKET
网约车行程单(滴滴等网约车平台电子票据) -
LIMIT_INVOICE
限额发票(有金额限制的发票) -
SHOPPING_RECEIPT
购物小票(商场超市等消费凭证) -
POS_INVOICE
POS小票(刷卡消费的签购单) -
OTHERS
其他未分类票据
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-