summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/impl/SimpleVoucher.java
blob: f1244642b0ff8aba43955aba640356311b8f95cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
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;		
	}


    
    


}