Subversion Repositories SmartDukaan

Rev

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

Rev 21844 Rev 22043
Line 179... Line 179...
179
	27:double cgstRate,
179
	27:double cgstRate,
180
	28:double sgstRate,
180
	28:double sgstRate,
181
	29:string hsnCode
181
	29:string hsnCode
182
}
182
}
183
 
183
 
-
 
184
enum WalletReferenceType{
-
 
185
	RECHARGE,
-
 
186
	PURCHASE,
-
 
187
	CASHBACK,
-
 
188
	REVERSAL,
-
 
189
	REFUND,
-
 
190
	FAILURE,
-
 
191
	ADVANCE_AMOUNT,
-
 
192
	SHIPPING_REFUND,
-
 
193
	ADVANCE_REVERSAL,
-
 
194
	OPENING_BALANCE
-
 
195
}
-
 
196
 
184
enum DelayReason {
197
enum DelayReason {
185
	INVENTORY_LOW_PHASED_OUT,
198
	INVENTORY_LOW_PHASED_OUT,
186
	INVENTORY_LOW_COLOR_NOT_AVAILABLE,
199
	INVENTORY_LOW_COLOR_NOT_AVAILABLE,
187
	INVENTORY_LOW_REVERSAL_NOT_ON_TIME,
200
	INVENTORY_LOW_REVERSAL_NOT_ON_TIME,
188
	INVENTORY_LOW_PRODUCT_NOT_SEALED,
201
	INVENTORY_LOW_PRODUCT_NOT_SEALED,
Line 580... Line 593...
580
struct UserWalletHistory {
593
struct UserWalletHistory {
581
	1:i64 id,
594
	1:i64 id,
582
    2:i64 walletId,
595
    2:i64 walletId,
583
    3:i64 orderId,
596
    3:i64 orderId,
584
    4:i64 amount,
597
    4:i64 amount,
585
    5:i64 timestamp    
598
    5:i64 timestamp,
-
 
599
    6:string description,
-
 
600
    7:string referenceNumber,
-
 
601
    8:WalletReferenceType referenceType    
586
}
602
}
587
 
603
 
588
enum EmiChargeType {
604
enum EmiChargeType {
589
    FIXED = 1,
605
    FIXED = 1,
590
    PERCENTAGE = 2
606
    PERCENTAGE = 2
Line 1235... Line 1251...
1235
	2:DelayReason delayReason,
1251
	2:DelayReason delayReason,
1236
	3:string delayReasonText,
1252
	3:string delayReasonText,
1237
	4:i64 delay
1253
	4:i64 delay
1238
}
1254
}
1239
 
1255
 
1240
enum WalletReferenceType{
-
 
1241
	RECHARGE,
-
 
1242
	PURCHASE,
-
 
1243
	CASHBACK,
-
 
1244
	REVERSAL,
-
 
1245
	REFUND,
-
 
1246
	FAILURE,
-
 
1247
	ADVANCE_AMOUNT,
-
 
1248
	SHIPPING_REFUND,
-
 
1249
	ADVANCE_REVERSAL,
-
 
1250
	OPENING_BALANCE
-
 
1251
}
-
 
1252
 
1256
 
1253
struct Pmsa{
1257
struct Pmsa{
1254
	1:i64 id,
1258
	1:i64 id,
1255
	2:string name,
1259
	2:string name,
1256
	3:string phone,
1260
	3:string phone,
Line 1881... Line 1885...
1881
		 
1885
		 
1882
	 bool updateRechargeOrderStatus(1:i64 rechargeOrderId, 2:RechargeOrderStatus rechargeOrderStatus) throws  (1:TransactionServiceException ex);
1886
	 bool updateRechargeOrderStatus(1:i64 rechargeOrderId, 2:RechargeOrderStatus rechargeOrderStatus) throws  (1:TransactionServiceException ex);
1883
	 bool activateRechargeTxn(1:i64 rechargeOrderId) throws  (1:TransactionServiceException ex);
1887
	 bool activateRechargeTxn(1:i64 rechargeOrderId) throws  (1:TransactionServiceException ex);
1884
	 UserWallet getUserWallet(1:i64 userId);
1888
	 UserWallet getUserWallet(1:i64 userId);
1885
	 list<UserWalletHistory> getUserWalletHistory(1:i64 userId);
1889
	 list<UserWalletHistory> getUserWalletHistory(1:i64 userId);
-
 
1890
	 list<UserWalletHistory>  getLatestUserWalletHistory(1:i64 userId, 2:i64 offset, 3:i64 limit);
1886
	 /**
1891
	 /**
1887
	 Returns a recharge order for a given transactionId
1892
	 Returns a recharge order for a given transactionId
1888
	 */
1893
	 */
1889
	 RechargeOrder getRechargeOrdersForTransaction(1:i64 txnId) throws (1:TransactionServiceException ex);
1894
	 RechargeOrder getRechargeOrdersForTransaction(1:i64 txnId) throws (1:TransactionServiceException ex);
1890
	 map<i64, string> getServiceProviders(1:RechargeType rechargeType, 2:bool onlyActive);
1895
	 map<i64, string> getServiceProviders(1:RechargeType rechargeType, 2:bool onlyActive);
Line 2256... Line 2261...
2256
	
2261
	
2257
	list<i64> getStatsForAssociates(1:string associateEmail)
2262
	list<i64> getStatsForAssociates(1:string associateEmail)
2258
	
2263
	
2259
	Pmsa getmypmsaprofile(1:string associateEmail)
2264
	Pmsa getmypmsaprofile(1:string associateEmail)
2260
	
2265
	
2261
	bool creditUserWallet(1:i64 userId, 2:i64 amount, 3:double cash_back)
2266
	bool creditUserWallet(1:i64 userId, 2:i64 amount, 3:double cash_back, 4:string shortDesc)
2262
	
2267
	
2263
	list<RechargeOrder> getPaginatedRechargeOrders(1:i64 userId, 2:i32 offset, 3:i32 limit)
2268
	list<RechargeOrder> getPaginatedRechargeOrders(1:i64 userId, 2:i32 offset, 3:i32 limit)
2264
}
2269
}