Subversion Repositories SmartDukaan

Rev

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

Rev 9772 Rev 9793
Line 1... Line 1...
1
package in.shop2020.mobileapi.serving.pojos;
1
package in.shop2020.mobileapi.serving.pojos;
2
 
2
 
-
 
3
import in.shop2020.model.v1.user.Address;
-
 
4
 
-
 
5
import java.util.List;
-
 
6
 
3
 
7
 
4
public class OrderPojo {
8
public class OrderPojo {
5
	private long orderId;
9
	private long orderId;
6
	private String unitPrice;
10
	private String unitPrice;
7
	private String totalAmount;
11
	private String totalAmount;
Line 16... Line 20...
16
	private String courierUrl;
20
	private String courierUrl;
17
	private String orderUrl;
21
	private String orderUrl;
18
	private String status;
22
	private String status;
19
	private String courierName;
23
	private String courierName;
20
	private String awbNumber;
24
	private String awbNumber;
-
 
25
	private AddressPojo shippingAddress;
-
 
26
	private long addressId;
-
 
27
	private List<AddressPojo> allAddresses;
-
 
28
	private boolean initiateCancellable;
-
 
29
	private boolean requestCancellable;
21
	public void setOrderId(long orderId) {
30
	public void setOrderId(long orderId) {
22
		this.orderId = orderId;
31
		this.orderId = orderId;
23
	}
32
	}
24
	public long getOrderId() {
33
	public long getOrderId() {
25
		return orderId;
34
		return orderId;
Line 114... Line 123...
114
		this.unitPrice = unitPrice;
123
		this.unitPrice = unitPrice;
115
	}
124
	}
116
	public String getUnitPrice() {
125
	public String getUnitPrice() {
117
		return unitPrice;
126
		return unitPrice;
118
	}
127
	}
-
 
128
 
-
 
129
	public void setRequestCancellable(boolean requestCancellable) {
-
 
130
		this.requestCancellable = requestCancellable;
-
 
131
	}
-
 
132
	public boolean isRequestCancellable() {
-
 
133
		return requestCancellable;
-
 
134
	}
-
 
135
	public void setShippingAddress(Address shippingAddress) {
-
 
136
		this.shippingAddress = shippingAddress;
-
 
137
	}
-
 
138
	public Address getShippingAddress() {
-
 
139
		return shippingAddress;
-
 
140
	}
-
 
141
	public void setAllAddresses(List<Address> allAddresses) {
-
 
142
		this.allAddresses = allAddresses;
-
 
143
	}
-
 
144
	public List<Address> getAllAddresses() {
-
 
145
		return allAddresses;
-
 
146
	}
-
 
147
	public void setInitiateCancellable(boolean initiateCancellable) {
-
 
148
		this.initiateCancellable = initiateCancellable;
-
 
149
	}
-
 
150
	public boolean isInitiateCancellable() {
-
 
151
		return initiateCancellable;
-
 
152
	}
-
 
153
	public void setAddressId(long addressId) {
-
 
154
		this.addressId = addressId;
-
 
155
	}
-
 
156
	public long getAddressId() {
-
 
157
		return addressId;
-
 
158
	}
119
}
159
}