Subversion Repositories SmartDukaan

Rev

Rev 23560 | Rev 23627 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23504 ashik.ali 1
package com.spice.profitmandi.service.recharge;
2
 
3
import org.springframework.stereotype.Service;
4
 
5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
23527 ashik.ali 6
import com.spice.profitmandi.common.model.RechargeCommissionRequest;
7
import com.spice.profitmandi.common.model.RechargeCredential;
23504 ashik.ali 8
import com.spice.profitmandi.common.model.RechargeRequest;
9
import com.spice.profitmandi.common.model.RechargeResponse;
10
 
11
@Service
12
public interface RechargeService {
23574 ashik.ali 13
	public RechargeResponse doRecharge(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, String rechargeValidationUrl,
14
			String rechargeValidationAuthKey, RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,
15
			RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)
16
					throws ProfitMandiBusinessException;
17
	public RechargeResponse checkStatus(String oxigenRechargeEnquiryUrl, String oxigenRechargeAuthKey,
18
			RechargeCredential thinkWalnutDigitalRechargeEnquiryCredential, int retailerId, String requestId)
19
					throws ProfitMandiBusinessException;
23527 ashik.ali 20
	public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;
23574 ashik.ali 21
	public void updateRechargeCommission(int operatorId, int providerId, String amountTypeString, float amount) throws ProfitMandiBusinessException;
23527 ashik.ali 22
	public void addCommissionToWallet();
23504 ashik.ali 23
}