Subversion Repositories SmartDukaan

Rev

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

Rev 18585 Rev 18634
Line 319... Line 319...
319
	8:string coupon_code,
319
	8:string coupon_code,
320
	9:string sessionSource,
320
	9:string sessionSource,
321
	10:i64 sessionStartTime,
321
	10:i64 sessionStartTime,
322
	11:string firstSource,
322
	11:string firstSource,
323
    12:i64 firstSourceTime,
323
    12:i64 firstSourceTime,
324
    13:i64 emiSchemeId,
324
    13:i64 payment_option,
325
    14:double totalShippingCost,
325
    14:double totalShippingCost,
326
    15:double totalCodCharges
326
    15:double totalCodCharges
327
}
327
}
328
 
328
 
329
enum AlertType{
329
enum AlertType{
Line 931... Line 931...
931
	4:i64 created,
931
	4:i64 created,
932
	5:i64 updated
932
	5:i64 updated
933
}
933
}
934
 
934
 
935
struct UserSanction{
935
struct UserSanction{
-
 
936
	1:i64 id,
936
	1:i64 user_id, 
937
	2:i64 user_id, 
937
	2:i64 creditor_id, 
938
	3:i64 creditor_id, 
938
	3:string user_ref_id,
939
	4:string user_ref_id,
939
	4:double credit_limit, 
940
	5:double credit_limit, 
940
	5:double credit_blocked, 
941
	6:double credit_blocked, 
941
	6:double loan, 
942
	7:double loan, 
942
	7:bool active, 
943
	8:bool active, 
943
	8:i64 created, 
944
	9:i64 created, 
944
	9:i64 updated
945
	10:i64 updated
945
}
946
}
946
 
947
 
947
enum CreditTxnType{
948
enum CreditTxnType{
948
	BLOCKED,
949
	BLOCKED,
949
	BLOCK_REVERSED,
950
	BLOCK_REVERSED,
950
	LOAN,
951
	LOAN,
-
 
952
	LOAN_CANCELLED,
951
	PAID,
953
	PAID,
952
	DEFAULTED
954
	DEFAULTED,
-
 
955
	CORRECTION
953
}
956
}
954
 
957
 
955
struct CreditHistory{
958
struct CreditHistory{
-
 
959
	1:i64 id,
956
	1:i64 user_id,
960
	2:i64 user_id,
957
	2:i64 creditor_id,
961
	3:i64 creditor_id,
958
	3:i64 payment_id, 
962
	4:i64 payment_id, 
959
	4:double  amount,
963
	5:double  amount,
960
	5:CreditTxnType credit_type, 
964
	6:CreditTxnType credit_type, 
961
	6:i64 created, 
965
	7:i64 created, 
-
 
966
	8:string shipping_id
-
 
967
}
-
 
968
 
-
 
969
struct LoanHistory{
-
 
970
	1:i64 id,
-
 
971
	2:i64 user_id,
-
 
972
	3:i64 creditor_id,
-
 
973
	4:i64 payment_id, 
-
 
974
	5:double  amount,
-
 
975
	6:CreditTxnType credit_type, 
962
	7:i64 updated,  
976
	7:i64 created, 
963
	8:string loan_id, 
977
	8:i64 updated,
964
	9:string shipping_id,
978
	9:string loan_id, 
965
	10:i64 due_date
979
	10:i64 due_date,
-
 
980
	11:i64 value_date
966
}
981
}
967
 
982
 
968
enum ReturnAction{
983
enum ReturnAction{
969
	REPLACEMENT,
984
	REPLACEMENT,
970
	REFUND
985
	REFUND
Line 1932... Line 1947...
1932
    
1947
    
1933
    UserSanction getUserSanctionDetailsForCreditor(1:i64 userId, i64 creditorId)
1948
    UserSanction getUserSanctionDetailsForCreditor(1:i64 userId, i64 creditorId)
1934
    
1949
    
1935
    bool updateUserSanction(1:UserSanction userSanaction) throws (1:TransactionServiceException pe)
1950
    bool updateUserSanction(1:UserSanction userSanaction) throws (1:TransactionServiceException pe)
1936
    
1951
    
1937
    list<CreditHistory> getCreditHistoryRecordsForTransaction(1:i64 paymentId, 2:i64 creditorId, 3:string creditTxnType)
1952
    list<CreditHistory> getCreditHistoryRecordsForTransaction(1:i64 paymentId, 2:CreditTxnType creditTxnType)
-
 
1953
    
-
 
1954
    list<CreditHistory> getCreditHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
-
 
1955
    
-
 
1956
    bool processCreditTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<CreditHistory> creditTxns) throws (1:TransactionServiceException pe)
-
 
1957
    
-
 
1958
    double getLoanPayableForUserToCreditor(1:i64 userId, 2:i64 creditorId, 3:i64 dueDate)
1938
    
1959
    
1939
    list<CreditHistory> getCreditHistoryRecordsForUserAndCreditor(1:i64 userId, 2:string creditTxnType)
1960
    list<LoanHistory> getLoanHistoryRecordsForTransaction(1:i64 paymentId, 2:CreditTxnType creditTxnType)
1940
    
1961
    
1941
    bool processCreditTransaction(1:i64 paymentId, 2:list<CreditHistory> creditTxns) throws (1:TransactionServiceException pe)
1962
    list<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
1942
    
1963
    
1943
    list<CreditHistory> getLoanPayableForUserToCreditor(1:i64 userId, 2:i64 creditorId, 3:i64 dueDate)
1964
    bool processLoanTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<LoanHistory> creditTxns) throws (1:TransactionServiceException pe)
1944
    
1965
    
1945
    ReturnOrderInfo getReturnOrderInfo(1:i64 id) throws (1:TransactionServiceException ex);
1966
    ReturnOrderInfo getReturnOrderInfo(1:i64 id) throws (1:TransactionServiceException ex);
1946
     
1967
     
1947
     map<i64,list<ReturnOrderInfo>> getReturnOrderInfoList(1:list<i64> order_ids);
1968
     map<i64,list<ReturnOrderInfo>> getReturnOrderInfoList(1:list<i64> order_ids);
1948
	
1969