Subversion Repositories SmartDukaan

Rev

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

Rev 18769 Rev 18794
Line 947... Line 947...
947
	10:i64 updated,
947
	10:i64 updated,
948
	11:double ticket_size,
948
	11:double ticket_size,
949
	12:i64 credit_due_days 
949
	12:i64 credit_due_days 
950
}
950
}
951
 
951
 
-
 
952
struct PaginatedUserSanction{
-
 
953
	1:bool hasMore,
-
 
954
	2:i64 totalCount,
-
 
955
	3:list<UserSanction> userSanctions
-
 
956
}
-
 
957
 
952
enum CreditTxnType{
958
enum CreditTxnType{
953
	BLOCKED,
959
	BLOCKED,
954
	BLOCKED_REVERSED,
960
	BLOCKED_REVERSED,
955
	LOAN,
961
	LOAN,
956
	LOAN_CANCELLED,
962
	LOAN_CANCELLED,
Line 968... Line 974...
968
	6:CreditTxnType credit_type, 
974
	6:CreditTxnType credit_type, 
969
	7:i64 created, 
975
	7:i64 created, 
970
	8:string shipping_id
976
	8:string shipping_id
971
}
977
}
972
 
978
 
-
 
979
struct PaginatedCreditHistory{
-
 
980
	1:bool hasMore,
-
 
981
	2:i64 totalCount,
-
 
982
	3:list<CreditHistory> creditHistoryList
-
 
983
}
-
 
984
 
973
struct LoanHistory{
985
struct LoanHistory{
974
	1:i64 id,
986
	1:i64 id,
975
	2:i64 user_id,
987
	2:i64 user_id,
976
	3:i64 creditor_id,
988
	3:i64 creditor_id,
977
	4:i64 payment_id, 
989
	4:i64 payment_id, 
Line 983... Line 995...
983
	10:i64 due_date,
995
	10:i64 due_date,
984
	11:i64 value_date,
996
	11:i64 value_date,
985
	12:string invoiceNumber
997
	12:string invoiceNumber
986
}
998
}
987
 
999
 
-
 
1000
struct PaginatedLoanHistory{
-
 
1001
	1:bool hasMore,
-
 
1002
	2:i64 totalCount,
-
 
1003
	3:list<LoanHistory> loanHistoryList
-
 
1004
}
-
 
1005
 
988
enum ReturnAction{
1006
enum ReturnAction{
989
	REPLACEMENT,
1007
	REPLACEMENT,
990
	REFUND
1008
	REFUND
991
}
1009
}
992
 
1010
 
Line 1966... Line 1984...
1966
    
1984
    
1967
    list<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
1985
    list<LoanHistory> getLoanHistoryRecordsForUserAndCreditor(1:i64 userId, 2:i64 creditorId, 3:CreditTxnType creditTxnType)
1968
    
1986
    
1969
    bool processLoanTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<LoanHistory> creditTxns) throws (1:TransactionServiceException pe)
1987
    bool processLoanTransaction(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:list<LoanHistory> creditTxns) throws (1:TransactionServiceException pe)
1970
    
1988
    
1971
    list<CreditHistory> getLimitedCreditHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
1989
    PaginatedCreditHistory getLimitedCreditHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
-
 
1990
    
-
 
1991
    PaginatedLoanHistory getLimitedLoanHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
1972
    
1992
    
1973
    list<LoanHistory> getLimitedLoanHistoryRecords(1:i64 paymentId, 2:i64 userId, 3:i64 creditorId, 4:i64 limit, 5:i64 offset)
1993
    PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(1:i64 userId, 2:i64 creditorId, 3:i64 limit, 4:i64 offset)
1974
    
1994
    
1975
    ReturnOrderInfo getReturnOrderInfo(1:i64 id) throws (1:TransactionServiceException ex);
1995
    ReturnOrderInfo getReturnOrderInfo(1:i64 id) throws (1:TransactionServiceException ex);
1976
     
1996
     
1977
     map<i64,list<ReturnOrderInfo>> getReturnOrderInfoList(1:list<i64> order_ids);
1997
     map<i64,list<ReturnOrderInfo>> getReturnOrderInfoList(1:list<i64> order_ids);
1978
	
1998