Subversion Repositories SmartDukaan

Rev

Rev 4386 | Rev 13362 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4386 Rev 7792
Line 17... Line 17...
17
    private String itemId;
17
    private String itemId;
18
    private String packetWeight;
18
    private String packetWeight;
19
    private String productName;
19
    private String productName;
20
    private String pickupLocation;
20
    private String pickupLocation;
21
    private String accountCode;
21
    private String accountCode;
-
 
22
    private String returnAddress1;
-
 
23
    private String returnAddress2;
-
 
24
    private String returnAddress3;
-
 
25
    private String returnPin;
-
 
26
    private String vendorCode;
22
    
27
    
23
    public String getAwbNumber() {
28
    public String getAwbNumber() {
24
        return awbNumber;
29
        return awbNumber;
25
    }
30
    }
26
    public void setAwbNumber(String awbNumber) {
31
    public void setAwbNumber(String awbNumber) {
Line 126... Line 131...
126
        return accountCode;
131
        return accountCode;
127
    }
132
    }
128
    public void setAccountCode(String accountCode) {
133
    public void setAccountCode(String accountCode) {
129
        this.accountCode = accountCode;
134
        this.accountCode = accountCode;
130
    }
135
    }
-
 
136
    public String getReturnAddress1() {
-
 
137
        return returnAddress1;
-
 
138
    }
-
 
139
    public void setReturnAddress1(String returnAddress1) {
-
 
140
        this.returnAddress1 = returnAddress1;
-
 
141
    }
-
 
142
    public String getReturnAddress2() {
-
 
143
        return returnAddress2;
-
 
144
    }
-
 
145
    public void setReturnAddress2(String returnAddress2) {
-
 
146
        this.returnAddress2 = returnAddress2;
-
 
147
    }
-
 
148
    public String getReturnAddress3() {
-
 
149
        return returnAddress3;
-
 
150
    }
-
 
151
    public void setReturnAddress3(String returnAddress3) {
-
 
152
        this.returnAddress3 = returnAddress3;
-
 
153
    }
-
 
154
    public void setReturnPin(String returnPin) {
-
 
155
        this.returnPin = returnPin;
-
 
156
    }
-
 
157
    public String getReturnPin() {
-
 
158
        return returnPin;
-
 
159
    }
-
 
160
    public void setVendorCode(int warehouseId) {
-
 
161
        /**
-
 
162
         * This method takes an integer and converts it to a String like "S00730"
-
 
163
         * We assume that warehouseId is less than 99999
-
 
164
         */
-
 
165
        this.vendorCode = "s" + String.format("%05d", warehouseId); 
-
 
166
    }
-
 
167
    public void setVendorCode(String vendorCode) {
-
 
168
        this.vendorCode = vendorCode;
-
 
169
    }
-
 
170
    public String getVendorCode() {
-
 
171
        return vendorCode;
-
 
172
    }
131
}
173
}