-
Notifications
You must be signed in to change notification settings - Fork 0
/
Transaction.java
42 lines (32 loc) · 673 Bytes
/
Transaction.java
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
package com.homedepot.myproject;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
@Root(name = "TRANS", strict = false)
public class Transaction {
@Attribute(name = "STR_NBR")
String storeNumber;
@Attribute(name = "RGSTR_NBR")
String registerNumber;
@Attribute(name = "POS_TRANS_ID")
String posTransId;
@Attribute(name = "SLS_TS")
String salesDate;
public Transaction()
{}
public String getStoreNumber()
{
return storeNumber;
}
public String getRegisterNumber()
{
return registerNumber;
}
public String getPosTransId()
{
return posTransId;
}
public String getSalesDate()
{
return salesDate;
}
}