Subversion Repositories SmartDukaan

Rev

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

Rev 694 Rev 704
Line 35... Line 35...
35
 
35
 
36
struct Payment{
36
struct Payment{
37
	1:i64 paymentId,  				// trackId for bank, paymentid for us and id for table.
37
	1:i64 paymentId,  				// trackId for bank, paymentid for us and id for table.
38
	2:i64 gatewayId, 				//payment gateway used
38
	2:i64 gatewayId, 				//payment gateway used
39
	3:string gatewayPaymentId
39
	3:string gatewayPaymentId
40
	4:string merchantTxnId,			//merchant transaction id. This will be propagated further to order processing
40
	4:i64 merchantTxnId,			//merchant transaction id. This will be propagated further to order processing
41
	5:string gatewayTxnId,			//bank trnasaction id
41
	5:string gatewayTxnId,			//bank trnasaction id
42
	6:double amount,
42
	6:double amount,
43
	7:string gatewayTxnStatus,  	// bank status will be stored here
43
	7:string gatewayTxnStatus,  	// bank status will be stored here
44
	8:PaymentStatus status,
44
	8:PaymentStatus status,
45
	9:i64 userId,					//The user for which payment has to be processed.This is here to speed up querying.
45
	9:i64 userId,					//The user for which payment has to be processed.This is here to speed up querying.