Subversion Repositories SmartDukaan

Rev

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

Rev 6154 Rev 6159
Line 363... Line 363...
363
   12:i64 userId,
363
   12:i64 userId,
364
   13:string userEmailId,
364
   13:string userEmailId,
365
   14:i64 creationTimestamp,
365
   14:i64 creationTimestamp,
366
   15:string spiceTID,
366
   15:string spiceTID,
367
   16:i64 responseTimestamp,
367
   16:i64 responseTimestamp,
368
   17:string description
368
   17:string description,
-
 
369
   18:string plan
-
 
370
}
-
 
371
 
-
 
372
struct RechargePlan {
-
 
373
	1:i64 operatorId,
-
 
374
    2:string name,
-
 
375
    3:string displayName,
-
 
376
    4:string description
369
}
377
}
370
 
378
 
371
struct UserWallet {
379
struct UserWallet {
372
    1:i64 id,
380
    1:i64 id,
373
    2:i64 amount,
381
    2:i64 amount,
Line 1081... Line 1089...
1081
	 map<i64, string> getServiceProviders(1:RechargeType rechargeType);
1089
	 map<i64, string> getServiceProviders(1:RechargeType rechargeType);
1082
	 i64 getServiceProviderForDevice(1:RechargeType rechargeType, 2:string deviceNumber);
1090
	 i64 getServiceProviderForDevice(1:RechargeType rechargeType, 2:string deviceNumber);
1083
	 list<RechargeOrder> getRechargeOrdersForDevice(1:string deviceNumber);
1091
	 list<RechargeOrder> getRechargeOrdersForDevice(1:string deviceNumber);
1084
	 void addAmountToWallet(1:i64 userId, 2:i64 orderId, 3:i64 amount);
1092
	 void addAmountToWallet(1:i64 userId, 2:i64 orderId, 3:i64 amount);
1085
	 list<RechargeOrder> getRechargeOrdersForStatus(1:i64 status);
1093
	 list<RechargeOrder> getRechargeOrdersForStatus(1:i64 status);
-
 
1094
	 list<RechargePlan> getPlansForOperator(1:i64 operatorId);
1086
}
1095
}