Subversion Repositories SmartDukaan

Rev

Rev 13362 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4386 anupam.sin 1
package in.shop2020.support.models;
2
 
3
public class AwbDetails {
4
    private String awbNumber;
5
    private String awbDate;
6
    private String orderId;
7
    private String customerName;
8
    private String address1;
9
    private String address2;
10
    private String city;
11
    private String state;
12
    private String pinCode;
13
    private String phoneNumber;
14
    private String paymentMode;
15
    private String amountToCollect;
16
    private String shipmentValue;
17
    private String itemId;
18
    private String packetWeight;
19
    private String productName;
20
    private String pickupLocation;
21
    private String accountCode;
7792 anupam.sin 22
    private String returnAddress1;
23
    private String returnAddress2;
24
    private String returnAddress3;
25
    private String returnPin;
26
    private String vendorCode;
13362 manish.sha 27
    private String masterOrderId;
4386 anupam.sin 28
 
29
    public String getAwbNumber() {
30
        return awbNumber;
31
    }
32
    public void setAwbNumber(String awbNumber) {
33
        this.awbNumber = awbNumber;
34
    }
35
    public String getAwbDate() {
36
        return awbDate;
37
    }
38
    public void setAwbDate(String awbDate) {
39
        this.awbDate = awbDate;
40
    }
41
    public String getOrderId() {
42
        return orderId;
43
    }
44
    public void setOrderId(String orderId) {
45
        this.orderId = orderId;
46
    }
47
    public String getCustomerName() {
48
        return customerName;
49
    }
50
    public void setCustomerName(String customerName) {
51
        this.customerName = customerName;
52
    }
53
    public String getAddress1() {
54
        return address1;
55
    }
56
    public void setAddress1(String address1) {
57
        this.address1 = address1;
58
    }
59
    public String getAddress2() {
60
        return address2;
61
    }
62
    public void setAddress2(String address2) {
63
        this.address2 = address2;
64
    }
65
    public String getCity() {
66
        return city;
67
    }
68
    public void setCity(String city) {
69
        this.city = city;
70
    }
71
    public String getState() {
72
        return state;
73
    }
74
    public void setState(String state) {
75
        this.state = state;
76
    }
77
    public String getPinCode() {
78
        return pinCode;
79
    }
80
    public void setPinCode(String pinCode) {
81
        this.pinCode = pinCode;
82
    }
83
    public String getPhoneNumber() {
84
        return phoneNumber;
85
    }
86
    public void setPhoneNumber(String phoneNumber) {
87
        this.phoneNumber = phoneNumber;
88
    }
89
    public String getPaymentMode() {
90
        return paymentMode;
91
    }
92
    public void setPaymentMode(String paymentMode) {
93
        this.paymentMode = paymentMode;
94
    }
95
    public String getAmountToCollect() {
96
        return amountToCollect;
97
    }
98
    public void setAmountToCollect(String amountToCollect) {
99
        this.amountToCollect = amountToCollect;
100
    }
101
    public String getShipmentValue() {
102
        return shipmentValue;
103
    }
104
    public void setShipmentValue(String shipmentValue) {
105
        this.shipmentValue = shipmentValue;
106
    }
107
    public String getItemId() {
108
        return itemId;
109
    }
110
    public void setItemId(String itemId) {
111
        this.itemId = itemId;
112
    }
113
    public String getPacketWeight() {
114
        return packetWeight;
115
    }
116
    public void setPacketWeight(String packetWeight) {
117
        this.packetWeight = packetWeight;
118
    }
119
    public String getProductName() {
120
        return productName;
121
    }
122
    public void setProductName(String productName) {
123
        this.productName = productName;
124
    }
125
    public String getPickupLocation() {
126
        return pickupLocation;
127
    }
128
    public void setPickupLocation(String pickupLocation) {
129
        this.pickupLocation = pickupLocation;
130
    }
131
    public String getAccountCode() {
132
        return accountCode;
133
    }
134
    public void setAccountCode(String accountCode) {
135
        this.accountCode = accountCode;
136
    }
7792 anupam.sin 137
    public String getReturnAddress1() {
138
        return returnAddress1;
139
    }
140
    public void setReturnAddress1(String returnAddress1) {
141
        this.returnAddress1 = returnAddress1;
142
    }
143
    public String getReturnAddress2() {
144
        return returnAddress2;
145
    }
146
    public void setReturnAddress2(String returnAddress2) {
147
        this.returnAddress2 = returnAddress2;
148
    }
149
    public String getReturnAddress3() {
150
        return returnAddress3;
151
    }
152
    public void setReturnAddress3(String returnAddress3) {
153
        this.returnAddress3 = returnAddress3;
154
    }
155
    public void setReturnPin(String returnPin) {
156
        this.returnPin = returnPin;
157
    }
158
    public String getReturnPin() {
159
        return returnPin;
160
    }
161
    public void setVendorCode(int warehouseId) {
162
        /**
163
         * This method takes an integer and converts it to a String like "S00730"
164
         * We assume that warehouseId is less than 99999
165
         */
20257 amit.gupta 166
        this.vendorCode = "HS" + String.format("%04d", warehouseId); 
167
    }	
7792 anupam.sin 168
    public void setVendorCode(String vendorCode) {
169
        this.vendorCode = vendorCode;
170
    }
171
    public String getVendorCode() {
172
        return vendorCode;
173
    }
13362 manish.sha 174
	public String getMasterOrderId() {
175
		return masterOrderId;
176
	}
177
	public void setMasterOrderId(String masterOrderId) {
178
		this.masterOrderId = masterOrderId;
179
	}
180
 
4386 anupam.sin 181
}