diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-01-03 10:42:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 10:42:49 +0100 |
commit | 5ef4ad89630e4c51dcd7093e78d71eeda0be727d (patch) | |
tree | f0cdabc1aa8e3cdf6c55af6ab3c7a4ffa6b22f5e /src/org/uic/ticket/api/spec/ICardReference.java | |
parent | basic asn.1 library (diff) | |
download | UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.gz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.bz2 UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.lz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.xz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.zst UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.zip |
Diffstat (limited to 'src/org/uic/ticket/api/spec/ICardReference.java')
-rw-r--r-- | src/org/uic/ticket/api/spec/ICardReference.java | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/spec/ICardReference.java b/src/org/uic/ticket/api/spec/ICardReference.java new file mode 100644 index 0000000..38a2194 --- /dev/null +++ b/src/org/uic/ticket/api/spec/ICardReference.java @@ -0,0 +1,107 @@ +/*
+ *
+ */
+package org.uic.ticket.api.spec;
+
+/**
+ * The Interface ICardReference.
+ *
+ * ICardReference defines the data for a reference to a customer card
+ */
+public interface ICardReference {
+
+
+ /**
+ * Gets the card issuer.
+ *
+ * For rail cards the RICS code has to be used.
+ *
+ * @return the card issuer
+ */
+ public String getCardIssuer();
+
+ /**
+ * Sets the card issuer.
+ *
+ * For rail cards the RICS code has to be used.
+ *
+ * @param cardIssuer the new card issuer
+ */
+ public void setCardIssuer(String cardIssuer);
+
+ /**
+ * Gets the card id.
+ *
+ * The id will be trimmed. The maximum size is 20 positions
+ *
+ * @return the card id
+ */
+ public String getCardId();
+
+ /**
+ * Sets the card id.
+ *
+ * @param cardId the new card id
+ */
+ public void setCardId(String cardId);
+
+ /**
+ * Gets the card name.
+ *
+ * @return the card name
+ */
+ public String getCardName();
+
+ /**
+ * Sets the card name.
+ *
+ *
+ * @param cardName the new card name
+ */
+ public void setCardName(String cardName);
+
+ /**
+ * Gets the card type.
+ *
+ * @return the card type
+ */
+ public int getCardType();
+
+ /**
+ * Sets the card type.
+ *
+ * Code list defined and published by the issuer of the card
+ *
+ * @param cardType the new card type
+ */
+ public void setCardType(int cardType);
+
+ /**
+ * Gets the leading card id in case the entire cardId must not be provided.
+ *
+ * @return the leading card id
+ */
+ public String getLeadingCardId();
+
+ /**
+ * Sets the leading card id in case the entire cardId must not be provided.
+ *
+ * @param leadingCardId the new leading card id
+ */
+ public void setLeadingCardId(String leadingCardId);
+
+ /**
+ * Gets the trailing card id in case the entire cardId must not be provided.
+ *
+ * @return the trailing card id
+ */
+ public String getTrailingCardId();
+
+ /**
+ * Sets the trailing card id in case the entire cardId must not be provided.
+ *
+ * @param trailingCardId the new trailing card id
+ */
+ public void setTrailingCardId(String trailingCardId);
+
+}
|