summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/spec/IVoucher.java
blob: a276b04aab5b0ef7a17c6c62b16a90f747ac3fbe (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
/*
 * 
 */
package org.uic.barcode.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);	

}