summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-03-12 13:46:22 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-03-12 13:46:22 +0100
commitf9ff287fdd2a982e35542d319f7f5eb3031c1076 (patch)
treecdcf4af32652a0c00f5b66d5dff8374e3606ca63 /src/org/uic/barcode
parent- bug fix on TicketType Enum (diff)
downloadUIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar.gz
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar.bz2
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar.lz
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar.xz
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.tar.zst
UIC-barcode-f9ff287fdd2a982e35542d319f7f5eb3031c1076.zip
Diffstat (limited to 'src/org/uic/barcode')
-rw-r--r--src/org/uic/barcode/ticket/api/asn/omv2/TravelClassType.java8
-rw-r--r--src/org/uic/barcode/ticket/api/spec/ITravelClassType.java8
-rw-r--r--src/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java3
3 files changed, 11 insertions, 8 deletions
diff --git a/src/org/uic/barcode/ticket/api/asn/omv2/TravelClassType.java b/src/org/uic/barcode/ticket/api/asn/omv2/TravelClassType.java
index 37c4ac7..01aa09f 100644
--- a/src/org/uic/barcode/ticket/api/asn/omv2/TravelClassType.java
+++ b/src/org/uic/barcode/ticket/api/asn/omv2/TravelClassType.java
@@ -31,10 +31,10 @@ public enum TravelClassType {
premium("premium"),
business("business"),
all("all"),
- premiumFirst("A"),
- standardFirst("B"),
- premiumSecond("C"),
- standardSecond("D");
+ premiumFirst("premiumFirst"),
+ standardFirst("standardFirst"),
+ premiumSecond("premiumSecond"),
+ standardSecond("standardSecond");
public String text;
diff --git a/src/org/uic/barcode/ticket/api/spec/ITravelClassType.java b/src/org/uic/barcode/ticket/api/spec/ITravelClassType.java
index c064d42..b927b48 100644
--- a/src/org/uic/barcode/ticket/api/spec/ITravelClassType.java
+++ b/src/org/uic/barcode/ticket/api/spec/ITravelClassType.java
@@ -31,10 +31,10 @@ public enum ITravelClassType {
premium("premium"),
business("business"),
all("all"),
- premiumFirst("A"),
- standardFirst("B"),
- premiumSecond("C"),
- standardSecond("D");
+ premiumFirst("premiumFirst"),
+ standardFirst("standardFirst"),
+ premiumSecond("premiumSecond"),
+ standardSecond("standardSecond");
public String text;
diff --git a/src/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java b/src/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java
index bb4cb2d..78deb8a 100644
--- a/src/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java
+++ b/src/org/uic/barcode/ticket/api/utils/Api2OpenAsnEncoder.java
@@ -2304,6 +2304,9 @@ public class Api2OpenAsnEncoder {
}
+
+
+
return TravelClassType.valueOf(apiClass.name());