| Line 13... |
Line 13... |
| 13 |
import com.spice.profitmandi.common.model.RechargeRequest;
|
13 |
import com.spice.profitmandi.common.model.RechargeRequest;
|
| 14 |
import com.spice.profitmandi.common.model.RechargeResponse;
|
14 |
import com.spice.profitmandi.common.model.RechargeResponse;
|
| 15 |
|
15 |
|
| 16 |
@Service
|
16 |
@Service
|
| 17 |
public interface RechargeService {
|
17 |
public interface RechargeService {
|
| 18 |
public RechargeResponse doRecharge(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, String rechargeValidationUrl,
|
- |
|
| 19 |
String rechargeValidationAuthKey, RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,
|
18 |
public RechargeResponse doRecharge(RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,
|
| 20 |
RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)
|
19 |
RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)
|
| 21 |
throws ProfitMandiBusinessException;
|
20 |
throws ProfitMandiBusinessException;
|
| 22 |
public RechargeResponse checkStatus(String oxigenRechargeEnquiryUrl, String oxigenRechargeAuthKey,
|
21 |
public RechargeResponse checkStatus(
|
| 23 |
RechargeCredential thinkWalnutDigitalRechargeEnquiryCredential, int retailerId, String requestId)
|
22 |
RechargeCredential thinkWalnutDigitalRechargeEnquiryCredential, int retailerId, String requestId)
|
| 24 |
throws ProfitMandiBusinessException;
|
23 |
throws ProfitMandiBusinessException;
|
| 25 |
public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;
|
24 |
public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;
|
| 26 |
public void updateRechargeCommission(int operatorId, int providerId, String amountTypeString, float amount) throws ProfitMandiBusinessException;
|
25 |
public void updateRechargeCommission(int operatorId, int providerId, String amountTypeString, float amount) throws ProfitMandiBusinessException;
|
| 27 |
public void addCommissionToWallet();
|
26 |
public void addCommissionToWallet();
|
| 28 |
public float checkBalance(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, RechargeCredential rechargeCredential, int providerId, ProviderBalanceFrom providerBalanceFrom) throws ProfitMandiBusinessException;
|
27 |
public float checkBalance(RechargeCredential rechargeCredential, int providerId, ProviderBalanceFrom providerBalanceFrom) throws ProfitMandiBusinessException;
|
| 29 |
public void createRechargeProviderCreditWallet(int providerId, float amount, LocalDateTime providerWalletCreditTimestamp) throws ProfitMandiBusinessException;
|
28 |
public void createRechargeProviderCreditWallet(int providerId, float amount, LocalDateTime providerWalletCreditTimestamp) throws ProfitMandiBusinessException;
|
| 30 |
public List<Map<String, Object>> getRechargeProvidersBalance(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, RechargeCredential rechargeCredential) throws ProfitMandiBusinessException;
|
29 |
public List<Map<String, Object>> getRechargeProvidersBalance(RechargeCredential rechargeCredential) throws ProfitMandiBusinessException;
|
| 31 |
}
|
30 |
}
|