Subversion Repositories SmartDukaan

Rev

Rev 23886 | 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
 
23886 amit.gupta 3
import java.time.LocalDateTime;
23627 ashik.ali 4
import java.util.List;
5
import java.util.Map;
6
 
23504 ashik.ali 7
import org.springframework.stereotype.Service;
8
 
23627 ashik.ali 9
import com.spice.profitmandi.common.enumuration.ProviderBalanceFrom;
23504 ashik.ali 10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
23527 ashik.ali 11
import com.spice.profitmandi.common.model.RechargeCommissionRequest;
12
import com.spice.profitmandi.common.model.RechargeCredential;
23504 ashik.ali 13
import com.spice.profitmandi.common.model.RechargeRequest;
14
import com.spice.profitmandi.common.model.RechargeResponse;
15
 
16
@Service
17
public interface RechargeService {
26228 amit.gupta 18
	public RechargeResponse doRecharge(RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,
23574 ashik.ali 19
			RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)
20
					throws ProfitMandiBusinessException;
26228 amit.gupta 21
	public RechargeResponse checkStatus(
23574 ashik.ali 22
			RechargeCredential thinkWalnutDigitalRechargeEnquiryCredential, int retailerId, String requestId)
23
					throws ProfitMandiBusinessException;
23527 ashik.ali 24
	public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;
23574 ashik.ali 25
	public void updateRechargeCommission(int operatorId, int providerId, String amountTypeString, float amount) throws ProfitMandiBusinessException;
23527 ashik.ali 26
	public void addCommissionToWallet();
26228 amit.gupta 27
	public float checkBalance(RechargeCredential rechargeCredential, int providerId, ProviderBalanceFrom providerBalanceFrom) throws ProfitMandiBusinessException;
23886 amit.gupta 28
	public void createRechargeProviderCreditWallet(int providerId, float amount, LocalDateTime providerWalletCreditTimestamp) throws ProfitMandiBusinessException;
26228 amit.gupta 29
	public List<Map<String, Object>> getRechargeProvidersBalance(RechargeCredential rechargeCredential) throws ProfitMandiBusinessException;
23504 ashik.ali 30
}