summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode
diff options
context:
space:
mode:
Diffstat (limited to '')
-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());