Subversion Repositories SmartDukaan

Rev

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

Rev 9795 Rev 9831
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;
3
import java.util.List;
6
 
4
 
7
 
5
 
8
public class OrderPojo {
6
public class OrderPojo {
9
	private long orderId;
7
	private long orderId;
Line 21... Line 19...
21
	private String orderUrl;
19
	private String orderUrl;
22
	private String status;
20
	private String status;
23
	private String courierName;
21
	private String courierName;
24
	private String awbNumber;
22
	private String awbNumber;
25
	private AddressPojo shippingAddress;
23
	private AddressPojo shippingAddress;
26
	private long addressId;
-
 
27
	private List<AddressPojo> allAddresses;
24
	private List<AddressPojo> allAddresses;
28
	private boolean initiateCancellable;
25
	private boolean initiateCancellable;
29
	private boolean requestCancellable;
26
	private boolean requestCancellable;
30
	public void setOrderId(long orderId) {
27
	public void setOrderId(long orderId) {
31
		this.orderId = orderId;
28
		this.orderId = orderId;
Line 136... Line 133...
136
		this.initiateCancellable = initiateCancellable;
133
		this.initiateCancellable = initiateCancellable;
137
	}
134
	}
138
	public boolean isInitiateCancellable() {
135
	public boolean isInitiateCancellable() {
139
		return initiateCancellable;
136
		return initiateCancellable;
140
	}
137
	}
-
 
138
	public void setShippingAddress(AddressPojo shippingAddress) {
-
 
139
		this.shippingAddress = shippingAddress;
-
 
140
	}
-
 
141
	public AddressPojo getShippingAddress() {
-
 
142
		return shippingAddress;
-
 
143
	}
141
	public void setAddressId(long addressId) {
144
	public void setAllAddresses(List<AddressPojo> allAddresses) {
142
		this.addressId = addressId;
145
		this.allAddresses = allAddresses;
143
	}
146
	}
144
	public long getAddressId() {
147
	public List<AddressPojo> getAllAddresses() {
145
		return addressId;
148
		return allAddresses;
146
	}
149
	}
147
}
150
}