View Javadoc
1   package org.kuali.ole.bo;
2   
3   import org.codehaus.jackson.annotate.JsonAutoDetect;
4   import org.codehaus.jackson.annotate.JsonIgnore;
5   import org.codehaus.jackson.annotate.JsonMethod;
6   import org.codehaus.jackson.annotate.JsonProperty;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: sheiksalahudeenm
11   * Date: 9/3/13
12   * Time: 8:52 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  @JsonAutoDetect(JsonMethod.FIELD)
16  public class OLERenewItem {
17  
18      @JsonProperty("success")
19      private boolean success;
20  
21      @JsonProperty("code")
22      private String code;
23  
24      @JsonProperty("message")
25      private String message;
26  
27      @JsonProperty("pastDueDate")
28      private String pastDueDate;
29  
30      @JsonProperty("newDueDate")
31      private String newDueDate;
32  
33      @JsonProperty("renewalCount")
34      private String renewalCount;
35  
36      @JsonProperty("itemBarcode")
37      private String itemBarcode;
38  
39      /*This following fields are only for SIP2*/
40      @JsonIgnore
41      private String patronBarcode;
42  
43      @JsonIgnore
44      private String titleIdentifier;
45  
46      @JsonIgnore
47      private String feeType;
48  
49      @JsonIgnore
50      private String feeAmount;
51  
52      @JsonIgnore
53      private String mediaType;
54  
55      @JsonIgnore
56      private String itemProperties;
57  
58      @JsonIgnore
59      private String transactionId;
60      /*This above fields are only for SIP2*/
61  
62      public String getCode() {
63          return code;
64      }
65  
66      public void setCode(String code) {
67          this.code = code;
68      }
69  
70      public String getMessage() {
71          return message;
72      }
73  
74      public void setMessage(String message) {
75          this.message = message;
76      }
77  
78      public String getPastDueDate() {
79          return pastDueDate;
80      }
81  
82      public void setPastDueDate(String pastDueDate) {
83          this.pastDueDate = pastDueDate;
84      }
85  
86      public String getNewDueDate() {
87          return newDueDate;
88      }
89  
90      public void setNewDueDate(String newDueDate) {
91          this.newDueDate = newDueDate;
92      }
93  
94      public String getRenewalCount() {
95          return renewalCount;
96      }
97  
98      public void setRenewalCount(String renewalCount) {
99          this.renewalCount = renewalCount;
100     }
101 
102     public String getPatronBarcode() {
103         return patronBarcode;
104     }
105 
106     public void setPatronBarcode(String patronBarcode) {
107         this.patronBarcode = patronBarcode;
108     }
109 
110     public String getItemBarcode() {
111         return itemBarcode;
112     }
113 
114     public void setItemBarcode(String itemBarcode) {
115         this.itemBarcode = itemBarcode;
116     }
117 
118     public String getTitleIdentifier() {
119         return titleIdentifier;
120     }
121 
122     public void setTitleIdentifier(String titleIdentifier) {
123         this.titleIdentifier = titleIdentifier;
124     }
125 
126     public String getFeeType() {
127         return feeType;
128     }
129 
130     public void setFeeType(String feeType) {
131         this.feeType = feeType;
132     }
133 
134     public String getFeeAmount() {
135         return feeAmount;
136     }
137 
138     public void setFeeAmount(String feeAmount) {
139         this.feeAmount = feeAmount;
140     }
141 
142     public String getMediaType() {
143         return mediaType;
144     }
145 
146     public void setMediaType(String mediaType) {
147         this.mediaType = mediaType;
148     }
149 
150     public String getItemProperties() {
151         return itemProperties;
152     }
153 
154     public void setItemProperties(String itemProperties) {
155         this.itemProperties = itemProperties;
156     }
157 
158     public String getTransactionId() {
159         return transactionId;
160     }
161 
162     public void setTransactionId(String transactionId) {
163         this.transactionId = transactionId;
164     }
165 
166     public boolean isSuccess() {
167         return success;
168     }
169 
170     public void setSuccess(boolean success) {
171         this.success = success;
172     }
173 }