Subversion Repositories SmartDukaan

Rev

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

Rev 4004 Rev 4008
Line 51... Line 51...
51
	FAILED,
51
	FAILED,
52
	AUTHORIZED,
52
	AUTHORIZED,
53
	COD_IN_PROCESS
53
	COD_IN_PROCESS
54
}
54
}
55
 
55
 
-
 
56
enum ExtraTransactionProcessingType {
-
 
57
    COD_VERIFICATION,
-
 
58
    DELAYED_DELIVERY
-
 
59
}
-
 
60
 
56
struct LineItem{
61
struct LineItem{
57
	1:i64 id,
62
	1:i64 id,
58
	2:i64 item_id,
63
	2:i64 item_id,
59
	3:string productGroup
64
	3:string productGroup,
60
	4:string brand,
65
	4:string brand,
61
	5:string model_number,
66
	5:string model_number,
62
	6:string color
67
	6:string color
63
	7:string model_name,
68
	7:string model_name,
64
	8:string extra_info,
69
	8:string extra_info,
Line 514... Line 519...
514
	Returns a map of AWBs which were not processed and the associated reason. An AWB is not processed if:
519
	Returns a map of AWBs which were not processed and the associated reason. An AWB is not processed if:
515
	1. There is no order corresponding to an AWB number.
520
	1. There is no order corresponding to an AWB number.
516
	2. The captured amount for a payment exceeds the total payment.
521
	2. The captured amount for a payment exceeds the total payment.
517
	3. The order corresponding to an AWB no. is in a state prior to DELIVERY_SUCCESS.
522
	3. The order corresponding to an AWB no. is in a state prior to DELIVERY_SUCCESS.
518
	*/
523
	*/
519
	map<string, string> reconcileCodCollection(1:map<string, double> collectedAmountMap, 2:string xferBy, 3:string xferTxnId, 4:i64 xferDate) throws (1:TransactionServiceException ex)
524
	map<string, string> reconcileCodCollection(1:map<string, double> collectedAmountMap, 2:string xferBy, 3:string xferTxnId, 4:i64 xferDate) throws (1:TransactionServiceException ex),
-
 
525
 
-
 
526
    /**
-
 
527
     * Returns the list of transactions that require some extra processing and
-
 
528
     * which belong to a particular category. This is currently used by CRM
-
 
529
     * application.
-
 
530
     */
-
 
531
    list<i64> getTransactionsRequiringExtraProcessing(1:ExtraTransactionProcessingType category),
-
 
532
 
-
 
533
	/**
-
 
534
	 * Marks a particular transaction as processed for a particular cateogory.
-
 
535
	 * It essentially deletes the transaction if it is processed for a particular
-
 
536
	 * category. This is currently used by CRM application.
-
 
537
	 */
-
 
538
	void markTransactionAsProcessed(1:i64 transactionId, 2:ExtraTransactionProcessingType category)
520
}
539
}
521
540