1 package org.kuali.ole.pojo.edi;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6
7
8
9
10
11
12
13 public class INVOrder {
14 private MessageHeader messageHeader;
15 private InvoiceMessage message;
16 private List<LineItemOrder> lineItemOrder = new ArrayList<LineItemOrder>();
17 private Summary summary;
18 private Trailer trailer;
19
20 public void addLineItemOrder(LineItemOrder lineItemOrder) {
21 if (!this.lineItemOrder.contains(lineItemOrder)) {
22 this.lineItemOrder.add(lineItemOrder);
23 }
24 }
25
26
27 public Trailer getTrailer() {
28
29 return trailer;
30 }
31
32 public void setTrailer(Trailer trailer) {
33 this.trailer = trailer;
34 }
35
36 public MessageHeader getMessageHeader() {
37 return messageHeader;
38 }
39
40 public void setMessageHeader(MessageHeader messageHeader) {
41 this.messageHeader = messageHeader;
42 }
43
44 public InvoiceMessage getMessage() {
45 return message;
46 }
47
48 public void setMessage(InvoiceMessage message) {
49 this.message = message;
50 }
51
52 public List<LineItemOrder> getLineItemOrder() {
53 return lineItemOrder;
54 }
55
56 public void setLineItemOrder(List<LineItemOrder> lineItemOrder) {
57 this.lineItemOrder = lineItemOrder;
58 }
59
60 public Summary getSummary() {
61 return summary;
62 }
63
64 public void setSummary(Summary summary) {
65 this.summary = summary;
66 }
67 }