| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.recharge;
|
1 |
package com.spice.profitmandi.service.recharge;
|
| 2 |
|
2 |
|
| 3 |
import org.springframework.stereotype.Service;
|
3 |
import org.springframework.stereotype.Service;
|
| 4 |
|
4 |
|
| 5 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
5 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| - |
|
6 |
import com.spice.profitmandi.common.model.RechargeCommissionRequest;
|
| - |
|
7 |
import com.spice.profitmandi.common.model.RechargeCredential;
|
| 6 |
import com.spice.profitmandi.common.model.RechargeRequest;
|
8 |
import com.spice.profitmandi.common.model.RechargeRequest;
|
| 7 |
import com.spice.profitmandi.common.model.RechargeResponse;
|
9 |
import com.spice.profitmandi.common.model.RechargeResponse;
|
| 8 |
|
10 |
|
| 9 |
@Service
|
11 |
@Service
|
| 10 |
public interface RechargeService {
|
12 |
public interface RechargeService {
|
| 11 |
public RechargeResponse doRecharge(String rechargeApiHost, int rechargeApiPort, String authKey, String rechargeValidationApiHost, int rechargeValidationApiPort, String rechargeValidationAuthKey, int retailerId, RechargeRequest rechargeRequest) throws ProfitMandiBusinessException;
|
13 |
public RechargeResponse doRecharge(RechargeCredential rechargeTransactionCredential, RechargeCredential rechargeValidationCredential, int retailerId, RechargeRequest rechargeRequest) throws ProfitMandiBusinessException;
|
| 12 |
public RechargeResponse checkStatus(String rechargeApiHost, int rechargeApiPort, String authKey, int retailerId, String requestId) throws ProfitMandiBusinessException;
|
14 |
public RechargeResponse checkStatus(RechargeCredential rechargeEnquiryCredential, int retailerId, String requestId) throws ProfitMandiBusinessException;
|
| - |
|
15 |
public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;
|
| - |
|
16 |
public void updateRechargeCommission(int operatorId, String amountTypeString, float amount) throws ProfitMandiBusinessException;
|
| - |
|
17 |
public void addCommissionToWallet();
|
| 13 |
}
|
18 |
}
|