summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-02-25 11:02:26 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-02-25 11:02:26 +0100
commit425bd35c736b7e1c0dbe5b3f9162e195b3be6018 (patch)
treebc4668aa125fb0a15518d464a1738c6b05e56d07 /src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java
parentissuerOnLine changed from int to Integer as it is optional (diff)
downloadUIC-barcode-1.2.tar
UIC-barcode-1.2.tar.gz
UIC-barcode-1.2.tar.bz2
UIC-barcode-1.2.tar.lz
UIC-barcode-1.2.tar.xz
UIC-barcode-1.2.tar.zst
UIC-barcode-1.2.zip
Diffstat (limited to 'src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java')
-rw-r--r--src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java180
1 files changed, 180 insertions, 0 deletions
diff --git a/src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java b/src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java
new file mode 100644
index 0000000..f124464
--- /dev/null
+++ b/src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java
@@ -0,0 +1,180 @@
+/*
+ *
+ */
+package org.uic.barcode.ticket.api.impl;
+
+import java.util.Date;
+
+import org.uic.barcode.ticket.api.spec.IExtension;
+import org.uic.barcode.ticket.api.spec.IVoucher;
+
+
+
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class SimpleVoucher.
+ */
+public class SimpleVoucher extends SimpleDocumentData implements IVoucher {
+
+ /** The reference. */
+ protected String reference;
+
+ /** The product id. */
+ protected String productId;
+
+ /** The product owner. */
+ protected String productOwner;
+
+ /** The valid from. */
+ protected Date validFrom;
+
+ /** The valid until. */
+ protected Date validUntil;
+
+ /** The info text. */
+ protected String infoText;
+
+ /** The amount. */
+ protected Integer amount;
+
+ /** The type. */
+ protected Integer type;
+
+ /** The extension data. */
+ protected IExtension extensionData;
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getAmount()
+ */
+ public Integer getAmount() {
+ return amount;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setAmount(java.lang.Integer)
+ */
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getType()
+ */
+ public Integer getType() {
+ return type;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setType(java.lang.Integer)
+ */
+ public void setType(Integer type) {
+ this.type = type;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getReference()
+ */
+ public String getReference() {
+ return reference;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setReference(java.lang.String)
+ */
+ public void setReference(String reference) {
+ this.reference = reference;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getProductId()
+ */
+ public String getProductId() {
+ return productId;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setProductId(java.lang.String)
+ */
+ public void setProductId(String productId) {
+ this.productId = productId;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getProductOwner()
+ */
+ public String getProductOwner() {
+ return productOwner;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setProductOwner(java.lang.String)
+ */
+ public void setProductOwner(String productOwner) {
+ this.productOwner = productOwner;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getValidFrom()
+ */
+ public Date getValidFrom() {
+ return validFrom;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setValidFrom(java.util.Date)
+ */
+ public void setValidFrom(Date validFrom) {
+ this.validFrom = validFrom;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getValidUntil()
+ */
+ public Date getValidUntil() {
+ return validUntil;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setValidUntil(java.util.Date)
+ */
+ public void setValidUntil(Date validUntil) {
+ this.validUntil = validUntil;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getInfoText()
+ */
+ public String getInfoText() {
+ return infoText;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setInfoText(java.lang.String)
+ */
+ public void setInfoText(String infoText) {
+ this.infoText = infoText;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#getExtension()
+ */
+ @Override
+ public IExtension getExtension() {
+ return extensionData;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IVoucher#setExtension(org.uic.ticket.api.spec.IExtension)
+ */
+ @Override
+ public void setExtension(IExtension extensionData) {
+ this.extensionData = extensionData;
+ }
+
+
+
+
+
+
+}