summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/spec/IVoucher.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2020-01-03 10:42:49 +0100
committerGitHub <noreply@github.com>2020-01-03 10:42:49 +0100
commit5ef4ad89630e4c51dcd7093e78d71eeda0be727d (patch)
treef0cdabc1aa8e3cdf6c55af6ab3c7a4ffa6b22f5e /src/org/uic/ticket/api/spec/IVoucher.java
parentbasic asn.1 library (diff)
downloadUIC-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/IVoucher.java')
-rw-r--r--src/org/uic/ticket/api/spec/IVoucher.java146
1 files changed, 146 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/spec/IVoucher.java b/src/org/uic/ticket/api/spec/IVoucher.java
new file mode 100644
index 0000000..c1b59bc
--- /dev/null
+++ b/src/org/uic/ticket/api/spec/IVoucher.java
@@ -0,0 +1,146 @@
+/*
+ *
+ */
+package org.uic.ticket.api.spec;
+
+import java.util.Date;
+
+/**
+ * The Interface IVoucher.
+ *
+ * IVoucher provides the description of a voucher.
+ *
+ */
+public interface IVoucher extends IDocumentData {
+
+ /**
+ * Gets the reference.
+ *
+ * @return the reference
+ */
+ public String getReference() ;
+
+ /**
+ * Sets the reference.
+ *
+ * @param reference the new reference
+ */
+ public void setReference(String reference);
+
+ /**
+ * Gets the product owner.
+ *
+ * @return the product owner
+ */
+ public String getProductOwner();
+
+ /**
+ * Sets the product owner.
+ *
+ * @param productOwner the new product owner
+ */
+ public void setProductOwner(String productOwner);
+
+
+ /**
+ * Gets the product type.
+ *
+ * @return the product type
+ */
+ public String getProductId();
+
+ /**
+ * Sets the product type.
+ *
+ * @param id the new product id
+ */
+ public void setProductId(String type);
+
+
+ /**
+ * Gets the valid from date.
+ *
+ * @return the valid from date
+ */
+ public Date getValidFrom();
+
+ /**
+ * Sets the valid from date.
+ *
+ * @param validFrom the new valid from date
+ */
+ public void setValidFrom(Date validFrom);
+
+ /**
+ * Gets the valid until date.
+ *
+ * @return the valid until date
+ */
+ public Date getValidUntil();
+
+ /**
+ * Sets the valid until date.
+ *
+ * @param validUntil the new valid until date
+ */
+ public void setValidUntil(Date validUntil);
+
+
+ /**
+ * Gets the info text.
+ *
+ * @return the info text
+ */
+ public String getInfoText();
+
+ /**
+ * Sets the info text.
+ *
+ * @param infoText the new info text
+ */
+ public void setInfoText(String infoText) ;
+
+
+ /**
+ * Gets the amount in the currency and the fraction indicated in the issuer detail data.
+ *
+ * @return the amount in the currency and the fraction indicated in the issuer detail data
+ */
+ public Integer getAmount() ;
+
+ /**
+ * Sets the amount in the currency and the fraction indicated in the issuer detail data.
+ *
+ * @param amount the new amount in the currency and the fraction indicated in the issuer detail data
+ */
+ public void setAmount(Integer amount);
+
+ /**
+ * Gets the type of the voucher (code list defined by the product owner).
+ *
+ * @return the type of the voucher
+ */
+ public Integer getType() ;
+
+ /**
+ * Sets the type of the voucher (code list defined by the product owner).
+ *
+ * @param type the new type
+ */
+ public void setType(Integer type);
+
+ /**
+ * Gets the extension.
+ *
+ * @return the extension
+ */
+ public IExtension getExtension();
+
+ /**
+ * Sets the extension.
+ *
+ * @param extensionData the new extension
+ */
+ public void setExtension(IExtension extensionData);
+
+}