KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > util > ups > UPSResponseObject


1 package com.dotmarketing.util.ups;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  *
7  * @author Oswaldo Gallango
8  *
9  */

10
11 public class UPSResponseObject implements Serializable JavaDoc{
12     
13     /**
14      *
15      */

16     private static final long serialVersionUID = 1L;
17     
18     private String JavaDoc statusCode;
19     private String JavaDoc statusDescription;
20     private String JavaDoc errorCode;
21     private String JavaDoc errorDescription;
22     
23     private String JavaDoc currencyCode;
24     private String JavaDoc totalValue;
25     
26     public UPSResponseObject(){
27         
28         statusCode = "";
29         statusDescription = "";
30         currencyCode="";
31         totalValue="0";
32         errorCode="";
33         errorDescription="";
34         
35     }
36     
37     public String JavaDoc getCurrencyCode() {
38         return currencyCode;
39     }
40     
41     public void setCurrencyCode(String JavaDoc currencyCode) {
42         this.currencyCode = currencyCode;
43     }
44     
45     public String JavaDoc getTotalValue() {
46         return totalValue;
47     }
48     
49     public void setTotalValue(String JavaDoc totalValue) {
50         this.totalValue = totalValue;
51     }
52     
53     public String JavaDoc getStatusCode() {
54         return statusCode;
55     }
56     
57     public void setStatusCode(String JavaDoc statusCode) {
58         this.statusCode = statusCode;
59     }
60     
61     public String JavaDoc getStatusDescription() {
62         return statusDescription;
63     }
64     
65     public void setStatusDescription(String JavaDoc statusDescription) {
66         this.statusDescription = statusDescription;
67     }
68     
69     public String JavaDoc getErrorCode() {
70         return errorCode;
71     }
72     
73     public void setErrorCode(String JavaDoc errorCode) {
74         this.errorCode = errorCode;
75     }
76     
77     public String JavaDoc getErrorDescription() {
78         return errorDescription;
79     }
80     
81     public void setErrorDescription(String JavaDoc errorDescription) {
82         this.errorDescription = errorDescription;
83     }
84     
85 }
86
Popular Tags