| Line 487... |
Line 487... |
| 487 |
If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
|
487 |
If the order status is DOA_PICKUP_CONFIRMED or DOA_RETURN_IN_TRANSIT, marks the order status as DOA_RECEIVED_PRESTINE and returns true.
|
| 488 |
If the order status is SALES_RETURN_IN_TRANSIT, marks the order status as SALES_RET_RECEIVED and returns true.
|
488 |
If the order status is SALES_RETURN_IN_TRANSIT, marks the order status as SALES_RET_RECEIVED and returns true.
|
| 489 |
If the order is in any other state, it returns false.
|
489 |
If the order is in any other state, it returns false.
|
| 490 |
Throws an exception if the order with the given id couldn't be found.
|
490 |
Throws an exception if the order with the given id couldn't be found.
|
| 491 |
*/
|
491 |
*/
|
| 492 |
bool receiveReturn(1:i64 orderId) throws (1:TransactionServiceException ex),
|
492 |
bool receiveReturn(1:i64 orderId, 2:i64 receiveCondition) throws (1:TransactionServiceException ex),
|
| 493 |
|
493 |
|
| 494 |
/**
|
494 |
/**
|
| 495 |
Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
|
495 |
Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
|
| 496 |
the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
496 |
the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
| 497 |
If the order is in any other state, it returns false.
|
497 |
If the order is in any other state, it returns false.
|