| Line 257... |
Line 257... |
| 257 |
* @param pickupNumber
|
257 |
* @param pickupNumber
|
| 258 |
*/
|
258 |
*/
|
| 259 |
public boolean authorizePickup(long orderId, String pickupNumber) throws TransactionServiceException, TException;
|
259 |
public boolean authorizePickup(long orderId, String pickupNumber) throws TransactionServiceException, TException;
|
| 260 |
|
260 |
|
| 261 |
/**
|
261 |
/**
|
| 262 |
* If the order status is DOA_RETURN_AUTHORIZED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RETURNED and returns true.
|
262 |
* If the order status is DOA_RETURN_AUTHORIZED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED and returns true.
|
| 263 |
* If the order is in any other state, it returns false.
|
263 |
* If the order is in any other state, it returns false.
|
| 264 |
* Throws an exception if the order with the given id couldn't be found.
|
264 |
* Throws an exception if the order with the given id couldn't be found.
|
| 265 |
*
|
265 |
*
|
| 266 |
* @param orderId
|
266 |
* @param orderId
|
| 267 |
*/
|
267 |
*/
|
| 268 |
public boolean acceptDoa(long orderId) throws TransactionServiceException, TException;
|
268 |
public boolean acceptDoa(long orderId) throws TransactionServiceException, TException;
|
| 269 |
|
269 |
|
| 270 |
/**
|
270 |
/**
|
| 271 |
* Used to validate the DOA certificate for an order in the DOA_RETURNED state. If the certificate is valid,
|
271 |
* Used to validate the DOA certificate for an order in the DOA_RECEIVED state. If the certificate is valid,
|
| 272 |
* the order state is changed to DOA_PENDING and the warehouse executive gets to print a return receiving letter.
|
272 |
* the order state is changed to DOA_PENDING.
|
| 273 |
* If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
273 |
* If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
| 274 |
* If the order is in any other state, it returns false.
|
274 |
* If the order is in any other state, it returns false.
|
| 275 |
* Throws an exception if the order with the given id couldn't be found.
|
275 |
* Throws an exception if the order with the given id couldn't be found.
|
| 276 |
*
|
276 |
*
|
| 277 |
* @param orderId
|
277 |
* @param orderId
|