| 23504 |
ashik.ali |
1 |
package com.spice.profitmandi.service.recharge;
|
|
|
2 |
|
| 23627 |
ashik.ali |
3 |
import java.util.List;
|
|
|
4 |
import java.util.Map;
|
|
|
5 |
|
| 23504 |
ashik.ali |
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
| 23627 |
ashik.ali |
8 |
import com.spice.profitmandi.common.enumuration.ProviderBalanceFrom;
|
| 23504 |
ashik.ali |
9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 23527 |
ashik.ali |
10 |
import com.spice.profitmandi.common.model.RechargeCommissionRequest;
|
|
|
11 |
import com.spice.profitmandi.common.model.RechargeCredential;
|
| 23504 |
ashik.ali |
12 |
import com.spice.profitmandi.common.model.RechargeRequest;
|
|
|
13 |
import com.spice.profitmandi.common.model.RechargeResponse;
|
|
|
14 |
|
|
|
15 |
@Service
|
|
|
16 |
public interface RechargeService {
|
| 23574 |
ashik.ali |
17 |
public RechargeResponse doRecharge(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, String rechargeValidationUrl,
|
|
|
18 |
String rechargeValidationAuthKey, RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,
|
|
|
19 |
RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)
|
|
|
20 |
throws ProfitMandiBusinessException;
|
|
|
21 |
public RechargeResponse checkStatus(String oxigenRechargeEnquiryUrl, String oxigenRechargeAuthKey,
|
|
|
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();
|
| 23627 |
ashik.ali |
27 |
public float checkBalance(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, RechargeCredential rechargeCredential, int providerId, ProviderBalanceFrom providerBalanceFrom) throws ProfitMandiBusinessException;
|
|
|
28 |
public void createRechargeProviderCreditWallet(int providerId, float amount, String receiveDateTimeString) throws ProfitMandiBusinessException;
|
|
|
29 |
public List<Map<String, Object>> getRechargeProvidersBalance(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, RechargeCredential rechargeCredential) throws ProfitMandiBusinessException;
|
| 23504 |
ashik.ali |
30 |
}
|