| Line 534... |
Line 534... |
| 534 |
If the order is in any other state, it returns false.
|
534 |
If the order is in any other state, it returns false.
|
| 535 |
Throws an exception if the order with the given id couldn't be found.
|
535 |
Throws an exception if the order with the given id couldn't be found.
|
| 536 |
*/
|
536 |
*/
|
| 537 |
bool validateDoa(1:i64 orderId, 2:bool isValid) throws (1:TransactionServiceException ex),
|
537 |
bool validateDoa(1:i64 orderId, 2:bool isValid) throws (1:TransactionServiceException ex),
|
| 538 |
|
538 |
|
| - |
|
539 |
bool validateReturnProduct(1:i64 orderId, 2:bool isUsable) throws (1:TransactionServiceException ex),
|
| - |
|
540 |
|
| 539 |
/**
|
541 |
/**
|
| 540 |
If the order is in RTO_RECEIVED_PRESTINE or DOA_CERT_INVALID state, it does the following:
|
542 |
If the order is in RTO_RECEIVED_PRESTINE or DOA_CERT_INVALID state, it does the following:
|
| 541 |
1. Creates a new order for processing in the BILLED state. All billing information is saved.
|
543 |
1. Creates a new order for processing in the BILLED state. All billing information is saved.
|
| 542 |
2. Marks the current order as one of the final states RTO_RESHIPPED and DOA_INVALID_RESHIPPED depending on what state the order started in.
|
544 |
2. Marks the current order as one of the final states RTO_RESHIPPED and DOA_INVALID_RESHIPPED depending on what state the order started in.
|
| 543 |
|
545 |
|